attempt to fix travis

This commit is contained in:
n1nj4sec 2018-09-04 06:10:01 -04:00
parent 192a039850
commit d82c993b2e
1 changed files with 2 additions and 5 deletions

View File

@ -35,10 +35,7 @@ after_success:
cd $TRAVIS_BUILD_DIR/pupy && cd $TRAVIS_BUILD_DIR/pupy &&
docker push alxchk/pupy:$TAG >/dev/null; docker push alxchk/pupy:$TAG >/dev/null;
fi fi
- | - export TRAVIS_TAG=`if [ "$TRAVIS_REPO_SLUG" = "n1nj4sec/pupy" ] && [ -z "$TRAVIS_PULL_REQUEST_SLUG" ]; then echo "latest"; else echo ""; fi`
if [ "$TRAVIS_REPO_SLUG" = "n1nj4sec/pupy" ] && [ -z "$TRAVIS_PULL_REQUEST_SLUG" ]; then
TRAVIS_TAG=latest
fi
env: env:
global: global:
- COMMIT=${TRAVIS_COMMIT::8} - COMMIT=${TRAVIS_COMMIT::8}
@ -57,5 +54,5 @@ deploy:
overwrite: true overwrite: true
on: on:
repo: n1nj4sec/pupy repo: n1nj4sec/pupy
branch: unstable all_branches: true
tags: true tags: true