.travis.yml in knapsack-1.15.0 vs .travis.yml in knapsack-1.16.0
- old
+ new
@@ -1,15 +1,16 @@
---
sudo: false
language: ruby
rvm:
+ - 1.9.3
- 2.0.0
- - 2.2.2
- - 2.2.3
- - 2.3.0
- - 2.3.1
- - 2.4.2
+ - 2.1
+ - 2.2
+ - 2.3
+ - 2.4
+ - 2.5
addons:
code_climate:
repo_token: 38686058eed480dd0fcf8bce9015733e0bae88e44e30f4a1ac63df8aec2f86d8
before_install:
- "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
@@ -68,10 +69,11 @@
- bin/print_header.sh "Run rake task for the second CI node"
- CI_NODE_TOTAL=2 CI_NODE_INDEX=1 KNAPSACK_TEST_FILE_PATTERN="test_examples/**{,/*/**}/*_test.rb" bundle exec rake knapsack:minitest
- bin/print_header.sh "Check passing arguments to minitest. Run verbose tests"
- KNAPSACK_TEST_FILE_PATTERN="test_examples/**{,/*/**}/*_test.rb" bundle exec rake "knapsack:minitest[--verbose]"
- - KNAPSACK_TEST_FILE_PATTERN="test_examples/**{,/*/**}/*_test.rb" bin/knapsack minitest "--verbose --pride"
+ - if [ "$TRAVIS_RUBY_VERSION" == "1.9.3" ]; then KNAPSACK_TEST_FILE_PATTERN="test_examples/**{,/*/**}/*_test.rb" bin/knapsack minitest "--verbose"; fi
+ - if [ "$TRAVIS_RUBY_VERSION" != "1.9.3" ]; then KNAPSACK_TEST_FILE_PATTERN="test_examples/**{,/*/**}/*_test.rb" bin/knapsack minitest "--verbose --pride"; fi
- bin/print_header.sh "Run tests with custom knapsack logger"
- CUSTOM_LOGGER=true KNAPSACK_TEST_FILE_PATTERN="test_examples/**{,/*/**}/*_test.rb" bundle exec rake knapsack:minitest
- bin/print_header.sh "Run tests for custom knapsack report path"