Cleans up debugging stuff
This commit is contained in:
parent
06f14daa86
commit
a1ad11c07d
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue