summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaire McQuin <claire@getchef.com>2014-08-14 13:56:41 -0700
committerClaire McQuin <claire@getchef.com>2014-08-14 13:56:41 -0700
commit8401945908f8cfef7a75092ffe5921e99e7e6d83 (patch)
tree9a7f19f4b72bca33d7a1d220db9cdd544f6d057a
parent7d0ecc2c2d6c41ef3c546c079ac4773009f95e49 (diff)
downloadchef-mcquin/travis_secure_env_vars_again.tar.gz
Don't swallow end to end failuresmcquin/travis_secure_env_vars_again
-rw-r--r--.travis.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index c2546351eb..149f410615 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -36,9 +36,9 @@ matrix:
before_script:
- cd kitchen-tests
script:
- - '[ "$TRAVIS_SECURE_ENV_VARS" = "true" ] && bundle exec kitchen test || true'
+ - if [ "$TRAVIS_SECURE_ENV_VARS" = "true" ]; then bundle exec kitchen test; fi
after_script:
- - '[ "$TRAVIS_SECURE_ENV_VARS" = "true" ] && bundle exec kitchen destroy || true'
+ - if [ "$TRAVIS_SECURE_ENV_VARS" = "true" ]; then bundle exec kitchen destroy; fi
env:
- KITCHEN_YAML=.kitchen.travis.yml
- EC2_SSH_KEY_PATH=~/.ssh/id_aws.pem