mirror of
https://github.com/inspec/inspec
synced 2024-11-23 05:03:07 +00:00
Set environment variables via Travis config
Using the `env` feature of the matrix builds is a little hack so that one can quickly see what tests failed when looking at the build summary page. Signed-off-by: Steven Danna <steve@chef.io>
This commit is contained in:
parent
57d7275857
commit
185787fa74
1 changed files with 8 additions and 4 deletions
12
.travis.yml
12
.travis.yml
|
@ -17,15 +17,19 @@ matrix:
|
||||||
- rvm: 1.9.3
|
- rvm: 1.9.3
|
||||||
- rvm: 2.0
|
- rvm: 2.0
|
||||||
- rvm: 2.2
|
- rvm: 2.2
|
||||||
script: bundle exec rake lint test test:resources config=test/test.yaml
|
script: bundle exec rake $SUITE
|
||||||
|
env: SUITE="lint test test:resources config=test/test.yaml"
|
||||||
- rvm: 2.2
|
- rvm: 2.2
|
||||||
script: N=5 bundle exec rake test:functional test:resources config=test/test-extra.yaml
|
script: bundle exec rake $SUITE
|
||||||
|
env: SUITE="test:functional test:resources config=test/test-extra.yaml" N=5
|
||||||
- rvm: 2.2
|
- rvm: 2.2
|
||||||
bundler_args: "--without guard tools"
|
bundler_args: "--without guard tools"
|
||||||
script: DOCKER=true bundle exec rake test:integration OS='default-ubuntu-1204'
|
script: bundle exec rake $SUITE
|
||||||
|
env: SUITE=test:integration OS=default-ubuntu-1204 DOCKER=true
|
||||||
- rvm: 2.2
|
- rvm: 2.2
|
||||||
bundler_args: "--without guard tools"
|
bundler_args: "--without guard tools"
|
||||||
script: DOCKER=true bundle exec rake test:integration OS='default-ubuntu-1604'
|
script: bundle exec rake $SUITE
|
||||||
|
env: SUITE=test:integration OS='default-ubuntu-1604' DOCKER=true
|
||||||
deploy:
|
deploy:
|
||||||
provider: rubygems
|
provider: rubygems
|
||||||
on:
|
on:
|
||||||
|
|
Loading…
Reference in a new issue