diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 324edcadc1..5ce525eedf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,11 +33,12 @@ matrix: before_install: - echo -n $DO_KEY_CHUNK_{0..30} >> ~/.ssh/id_aws.base64 - cat ~/.ssh/id_aws.base64 | tr -d ' ' | base64 --decode > ~/.ssh/id_aws.pem - before_script: cd kitchen-tests + before_script: + - cd kitchen-tests script: - - bundle exec kitchen test + - '[ "$TRAVIS_SECURE_ENV_VARS" = "true" ] && bundle exec kitchen test' after_script: - - bundle exec kitchen destroy + - '[ "$TRAVIS_SECURE_ENV_VARS" = "true" ] && bundle exec kitchen destroy' env: - KITCHEN_YAML=.kitchen.travis.yml - EC2_SSH_KEY_PATH=~/.ssh/id_aws.pem |