Skip to content

Commit

Permalink
Test against multiple ruby versions
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveitaly committed Feb 2, 2017
1 parent cc7069a commit cc28384
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# https://leonid.shevtsov.me/post/multiple-rubies-on-circleci/

machine:
environment:
RUBY_VERSIONS: 2.0.0,2.1.10,2.2.5,2.3.1,2.4.0

dependencies:
override:
- rvm get head
- rvm install $RUBY_VERSIONS
- rvm $RUBY_VERSIONS --verbose do gem install bundler
- rvm $RUBY_VERSIONS --verbose do bundle install

test:
override:
- rvm $RUBY_VERSIONS --verbose do bundle exec rspec spec

0 comments on commit cc28384

Please sign in to comment.