.travis.yml in boolean_timestamp-0.1.0 vs .travis.yml in boolean_timestamp-0.2.0
- old
+ new
@@ -1,5 +1,41 @@
sudo: false
+env:
+ global:
+ - CC_TEST_REPORTER_ID=a7a2478b2a951030d73fbb60cb2b78e485ab91fbd4f608e891cb2bf98b285998
+ - COVERAGE=true
language: ruby
rvm:
- - 2.3.7
+ - 2.3
+ - 2.4
+ - 2.5
+ - 2.6
+gemfile:
+ - gemfiles/activerecord_4_0.gemfile
+ - gemfiles/activerecord_4_1.gemfile
+ - gemfiles/activerecord_4_2.gemfile
+ - gemfiles/activerecord_5_0.gemfile
+ - gemfiles/activerecord_5_1.gemfile
+ - gemfiles/activerecord_5_2.gemfile
+matrix:
+ exclude:
+ - rvm: 2.4
+ gemfile: gemfiles/activerecord_4_0.gemfile
+ - rvm: 2.4
+ gemfile: gemfiles/activerecord_4_1.gemfile
+ - rvm: 2.5
+ gemfile: gemfiles/activerecord_4_0.gemfile
+ - rvm: 2.5
+ gemfile: gemfiles/activerecord_4_1.gemfile
+ - rvm: 2.6
+ gemfile: gemfiles/activerecord_4_0.gemfile
+ - rvm: 2.6
+ gemfile: gemfiles/activerecord_4_1.gemfile
before_install: gem install bundler -v 1.16.2
+before_script:
+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
+ - chmod +x ./cc-test-reporter
+ - ./cc-test-reporter before-build
+script:
+ - bundle exec rake spec:all
+after_script:
+ - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT