.travis.yml in clowne-0.0.1 vs .travis.yml in clowne-0.1.0.beta1
- old
+ new
@@ -1,5 +1,39 @@
sudo: false
language: ruby
-rvm:
- - 2.4.2
-before_install: gem install bundler -v 1.15.4
+
+notifications:
+ email: false
+
+before_script:
+ # Only generate coverage report for the specified job
+ - if [ "$CC_REPORT" == "true" ]; then curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter; fi
+ - if [ "$CC_REPORT" == "true" ]; then chmod +x ./cc-test-reporter; fi
+ - if [ "$CC_REPORT" == "true" ]; then ./cc-test-reporter before-build; fi
+script:
+ - bundle exec rake
+after_script:
+ - if [ "$CC_REPORT" == "true" ]; then ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; fi
+
+matrix:
+ fast_finish: true
+ include:
+ - rvm: ruby-head
+ gemfile: gemfiles/railsmaster.gemfile
+ - rvm: jruby-9.1.0.0
+ gemfile: gemfiles/jruby.gemfile
+ - rvm: 2.5.0
+ gemfile: Gemfile
+ - rvm: 2.4.3
+ gemfile: Gemfile
+ env: CC_REPORT=true
+ - rvm: 2.4.1
+ gemfile: gemfiles/activerecord42.gemfile
+ - rvm: 2.3.1
+ gemfile: Gemfile
+ - rvm: 2.2.0
+ gemfile: gemfiles/activerecord42.gemfile
+ allow_failures:
+ - rvm: ruby-head
+ gemfile: gemfiles/railsmaster.gemfile
+ - rvm: jruby-9.1.0.0
+ gemfile: gemfiles/jruby.gemfile