Skip to content

Commit

Permalink
Change Travis after_script to after_success
Browse files Browse the repository at this point in the history
  • Loading branch information
rycus86 committed Jul 1, 2018
1 parent 0587fc8 commit c1497a9
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .travis.yml
Expand Up @@ -21,7 +21,7 @@ script:
nose2 -v \
--plugin nose2.plugins.junitxml --junit-xml \
--with-coverage --coverage-report xml --coverage-report term-missing
after_script:
after_success:
# coverage reports
- |
if [[ "$(python --version 2>&1)" = *3.6* ]]; then
Expand Down Expand Up @@ -50,10 +50,9 @@ jobs:
--build-arg BUILD_TIMESTAMP=$(date +%s) \
-f $DOCKERFILE .
- docker tag domain-automation:$DOCKER_TAG rycus86/domain-automation:$DOCKER_TAG
- docker login -u="rycus86" -p="$DOCKER_PASSWORD"
- echo ${DOCKER_PASSWORD} | docker login --username "rycus86" --password-stdin
after_success:
- docker push rycus86/domain-automation:$DOCKER_TAG
after_script: skip
sudo: true
env:
- DOCKER_TAG=amd64
Expand All @@ -73,9 +72,9 @@ jobs:
if: branch = master
install: skip
script:
- docker login -u="rycus86" -p="${DOCKER_PASSWORD}"
- echo ${DOCKER_PASSWORD} | docker login --username "rycus86" --password-stdin
- curl -fsSL https://github.com/estesp/manifest-tool/releases/download/v0.7.0/manifest-tool-linux-amd64 > ./manifest-tool
- chmod +x ./manifest-tool
- ./manifest-tool push from-spec manifest.yml
after_script: skip
after_success: skip
sudo: true

0 comments on commit c1497a9

Please sign in to comment.