Skip to content

Commit

Permalink
Setup circleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
richo225 committed Mar 22, 2020
1 parent 2afbf79 commit 0e78280
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 6 deletions.
29 changes: 29 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
version: 2
jobs:
build:
working_directory: ~/hodlmoon
docker:
- image: circleci/ruby:2.3.6
steps:
- checkout

# Restore Cached Dependencies
- type: cache-restore
name: Restore bundle cache
key: hodlmoon-{{ checksum "Gemfile.lock" }}

# Bundle install dependencies
- run: bundle install --path vendor/bundle

# Cache Dependencies
- type: cache-save
name: Store bundle cache
key: hodlmoon-{{ checksum "Gemfile.lock" }}
paths:
- vendor/bundle

# Run unit tests
- run: bundle exec rspec

# Run aruba tests
- run: bundle exec cucumber
Empty file added .env.example
Empty file.
5 changes: 0 additions & 5 deletions .travis.yml

This file was deleted.

5 changes: 4 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.7.0)
rspec-support (3.7.1)
rspec_junit_formatter (0.4.1)
rspec-core (>= 2, < 4, != 2.12.0)
rubocop (0.78.0)
jaro_winkler (~> 1.5.1)
parallel (~> 1.10)
Expand Down Expand Up @@ -136,9 +138,10 @@ DEPENDENCIES
hodlmoon!
rake (~> 13.0)
rspec (~> 3.0)
rspec_junit_formatter (~> 0.4.1)
rubocop (~> 0.78.0)
vcr (~> 5.0.0)
webmock (~> 3.2.1)

BUNDLED WITH
1.16.1
1.17.3
1 change: 1 addition & 0 deletions hodlmoon.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'cucumber', '>= 3.0'
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'rspec', '~> 3.0'
spec.add_development_dependency 'rspec_junit_formatter', '~> 0.4.1'
spec.add_development_dependency 'rubocop', '~> 0.78.0'
spec.add_development_dependency 'vcr', '~> 5.0.0'
spec.add_development_dependency 'webmock', '~> 3.2.1'
Expand Down

0 comments on commit 0e78280

Please sign in to comment.