Skip to content

Commit

Permalink
Add info about KNAPSACK_PRO_FIXED_QUEUE_SPLIT=true needed for queue m…
Browse files Browse the repository at this point in the history
…ode on Travis CI
  • Loading branch information
ArturT committed May 30, 2020
1 parent f68191a commit 829b710
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -991,19 +991,28 @@ You can parallelize your builds across virtual machines with [travis matrix feat

```yaml
script:
# Step for RSpec
# Step for RSpec in Regular Mode
- "bundle exec rake knapsack_pro:rspec"
# Step for Cucumber
# Step for RSpec in Queue Mode
- "bundle exec rake knapsack_pro:queue:rspec"
# Step for Cucumber in Regular Mode
- "bundle exec rake knapsack_pro:cucumber"
# Step for Minitest
# Step for Cucumber in Queue Mode
- "bundle exec rake knapsack_pro:queue:cucumber"
# Step for Minitest in Regular Mode
- "bundle exec rake knapsack_pro:minitest"
# Step for test-unit
# Step for Minitest in Queue Mode
- "bundle exec rake knapsack_pro:queue:minitest"
# Step for test-unit in Regular Mode
- "bundle exec rake knapsack_pro:test_unit"
# Step for Spinach
# Step for Spinach in Regular Mode
- "bundle exec rake knapsack_pro:spinach"
env:
Expand All @@ -1015,6 +1024,10 @@ env:
- KNAPSACK_PRO_TEST_SUITE_TOKEN_TEST_UNIT=test-unit-token
- KNAPSACK_PRO_TEST_SUITE_TOKEN_SPINACH=spinach-token
# if you use Knapsack Pro Queue Mode you must set below env variable
# to be able to retry single failed parallel job from Travis UI
- KNAPSACK_PRO_FIXED_QUEUE_SPLIT=true
- KNAPSACK_PRO_CI_NODE_TOTAL=2
jobs:
- KNAPSACK_PRO_CI_NODE_INDEX=0
Expand Down

0 comments on commit 829b710

Please sign in to comment.