.travis.yml in sidekiq-prometheus-exporter-0.1.13 vs .travis.yml in sidekiq-prometheus-exporter-0.1.14
- old
+ new
@@ -1,13 +1,14 @@
os: linux
+dist: xenial
language: ruby
rvm:
- 2.3.8
- - 2.4.9
- - 2.5.7
- - 2.6.5
- - 2.7.0
+ - 2.4.10
+ - 2.5.8
+ - 2.6.6
+ - 2.7.1
- ruby-head
notifications:
email: false
gemfile:
@@ -18,31 +19,41 @@
- gemfiles/sidekiq_6.x.gemfile
- gemfiles/sidekiq_head.gemfile
jobs:
include:
- - rvm: "2.6.5"
+ - rvm: "2.6.6"
gemfile: "gemfiles/sidekiq_5.x.gemfile"
env:
- CODECLIMATE_REPORT=true
exclude:
- rvm: "2.3.8"
gemfile: "gemfiles/sidekiq_6.x.gemfile"
- - rvm: "2.4.9"
+ - rvm: "2.4.10"
gemfile: "gemfiles/sidekiq_6.x.gemfile"
- rvm: "2.3.8"
gemfile: "gemfiles/sidekiq_head.gemfile"
- - rvm: "2.4.9"
+ - rvm: "2.4.10"
gemfile: "gemfiles/sidekiq_head.gemfile"
- - rvm: "2.5.7"
+ - rvm: "2.5.8"
gemfile: "gemfiles/sidekiq_head.gemfile"
- - rvm: "2.6.5"
+ - rvm: "2.6.6"
gemfile: "gemfiles/sidekiq_head.gemfile"
- - rvm: "2.7.0"
+ - rvm: "2.7.1"
gemfile: "gemfiles/sidekiq_head.gemfile"
allow_failures:
- rvm: "ruby-head"
+ gemfile: "gemfiles/sidekiq_3.3.1.gemfile"
+ - rvm: "ruby-head"
+ gemfile: "gemfiles/sidekiq_3.x.gemfile"
+ - rvm: "ruby-head"
+ gemfile: "gemfiles/sidekiq_4.x.gemfile"
+ - rvm: "ruby-head"
+ gemfile: "gemfiles/sidekiq_5.x.gemfile"
+ - rvm: "ruby-head"
+ gemfile: "gemfiles/sidekiq_6.x.gemfile"
+ - rvm: "ruby-head"
gemfile: "gemfiles/sidekiq_head.gemfile"
cache:
directories:
- ./vendor
@@ -61,11 +72,13 @@
fi
- if [ ! -z "$CODECLIMATE_REPORT" ]; then
echo "Start recording Codeclimate test coverage";
./vendor/cc-test-reporter before-build;
fi
+
script:
- bundle exec rake spec
+
after_success:
- if [ ! -z "$CODECLIMATE_REPORT" ]; then
echo "Finish recording Codeclimate test coverage";
./vendor/cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT;
fi