Files
grecia/.travis.yml
Enrique García ae2a6d6498 Merge pull request #1268 from consul/knapsack
Reduces build time using parallel builds
2016-11-22 10:37:12 +01:00

14 lines
311 B
YAML

language: ruby
addons:
postgresql: "9.4"
rvm:
- "2.3.2"
cache: bundler
before_script:
- "for i in config/*.example; do cp \"$i\" \"${i/.example}\"; done"
- bundle exec rake db:setup
script:
- "bundle exec rake knapsack:rspec"
env:
- CI_NODE_TOTAL=2 CI_NODE_INDEX=0
- CI_NODE_TOTAL=2 CI_NODE_INDEX=1