Skip to content

Instantly share code, notes, and snippets.

@rolebi
rolebi / .travis.yml
Last active May 8, 2018 12:08
Travis AWS codedeploy fail build if deployment fail
env:
global:
# implement your own logic in get_env_for_git_reference.sh
- TARGET_ENV="`test $TRAVIS_TAG && ./get_target_env_for_git_reference.sh $TRAVIS_TAG`"
# ENV integration
- AWS_INTEGRATION_APPLICATION=xxxx
- AWS_INTEGRATION_DEPLOYMENT_GROUP=xxxx
- AWS_INTEGRATION_REGION=xxxx
#AWS_INTEGRATION_ACCESS_KEY