adds travis matrix configuration for knapsack

This commit is contained in:
rgarcia
2016-11-20 11:11:48 +01:00
parent e8fcdff90f
commit 8595f60206

View File

@@ -8,4 +8,7 @@ before_script:
- "for i in config/*.example; do cp \"$i\" \"${i/.example}\"; done"
- bundle exec rake db:setup
script:
- "KNAPSACK_GENERATE_REPORT=true bundle exec rspec spec"
- "bundle exec rake knapsack:rspec"
env:
- CI_NODE_TOTAL=2 CI_NODE_INDEX=0
- CI_NODE_TOTAL=2 CI_NODE_INDEX=1