.travis.yml in knapsack-0.4.0 vs .travis.yml in knapsack-0.5.0
- old
+ new
@@ -25,9 +25,12 @@
- echo "Run rake task for the first CI node"
- CI_NODE_TOTAL=2 CI_NODE_INDEX=0 KNAPSACK_SPEC_PATTERN="spec_examples/**/*_spec.rb" bundle exec rake knapsack:rspec
- echo "Run rake task for the second CI node"
- CI_NODE_TOTAL=2 CI_NODE_INDEX=1 KNAPSACK_SPEC_PATTERN="spec_examples/**/*_spec.rb" bundle exec rake knapsack:rspec
+ - echo "Check passing arguments to rspec. Run only specs with custom_focus tag"
+ - KNAPSACK_SPEC_PATTERN="spec_examples/**/*_spec.rb" bundle exec rake "knapsack:rspec[--tag custom_focus]"
+
- echo "Run specs with custom knapsack logger"
- CUSTOM_LOGGER=true KNAPSACK_SPEC_PATTERN="spec_examples/**/*_spec.rb" bundle exec rake knapsack:rspec
- echo "Run specs for custom knapsack report path"
- cp knapsack_report.json custom_knapsack_report.json