New updates to scripts for travis (#381)

This commit is contained in:
Jesus Federico
2019-02-26 09:34:51 -05:00
committed by GitHub
parent fff8a52cc2
commit 6ebdd43709
3 changed files with 6 additions and 2 deletions

View File

@ -20,7 +20,7 @@ jobs:
- stage: build
name: build docker image
script: bash scripts/image_build.sh $TRAVIS_REPO_SLUG $TRAVIS_BRANCH $TRAVIS_COMMIT
if: !env(TRAVIS_PULL_REQUEST) AND env(CD_BUILD_IGNORE) IS NOT present AND env(CD_DOCKER_USERNAME) IS present AND env(CD_DOCKER_PASSWORD) IS present
if: type NOT IN (pull_request) AND env(CD_BUILD_IGNORE) IS NOT present AND env(CD_DOCKER_USERNAME) IS present AND env(CD_DOCKER_PASSWORD) IS present
notifications:
email: false