Cleans up debugging stuff

This commit is contained in:
Aaron Louie 2020-05-07 14:27:32 -04:00
parent 06f14daa86
commit a1ad11c07d
2 changed files with 2 additions and 13 deletions

View File

@ -22,10 +22,7 @@ install:
- pipenv install
env:
# global:
# - COMMIT=${$TRAVIS_COMMIT::8}
matrix:
- PB_BASE_URL='http://workflow.sartography.com:5001/pb/'
- PB_BASE_URL='http://workflow.sartography.com:5001/pb/'
script:
- pipenv run coverage run -m pytest
@ -40,7 +37,7 @@ deploy:
skip_cleanup: true
on:
all_branches: true
# condition: $TRAVIS_BRANCH =~ ^(testing|staging|master)$
condition: $TRAVIS_BRANCH =~ ^(testing|staging|master)$
notifications:
email:

View File

@ -6,14 +6,6 @@ REPO="sartography/cr-connect-workflow"
TAG=$(if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo "$TRAVIS_BRANCH" ; fi)
COMMIT=${TRAVIS_COMMIT::8}
echo "REPO = $REPO"
echo "TAG = $TAG"
echo "TRAVIS_COMMIT = $TRAVIS_COMMIT"
echo "COMMIT = $COMMIT"
echo "REPO:COMMIT = $REPO:$COMMIT"
echo "REPO:TAG = $REPO:$TAG"
echo "REPO:travis-TRAVIS_BUILD_NUMBER = $REPO:travis-$TRAVIS_BUILD_NUMBER"
docker build -f Dockerfile -t "$REPO:$COMMIT" . || exit 1
docker tag "$REPO:$COMMIT" "$REPO:$TAG" || exit 1
docker tag "$REPO:$COMMIT" "$REPO:travis-$TRAVIS_BUILD_NUMBER" || exit 1