Skip to content

Commit

Permalink
Remove travis build and push docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
dougppaz committed Aug 24, 2018
1 parent 00b6dba commit 2436a12
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,8 @@ env:
global:
- SECRET_KEY=SK
- SUPPORTED_LANGUAGES="en|pt"
- DOCKER_IMAGE_NAME=ilha/bothub
script:
- flake8
- travis_wait coverage run manage.py test
after_success:
- coveralls
- export TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH ; fi`
- '[[ $TRAVIS_EVENT_TYPE == "push" && $TRAVIS_BRANCH == "master" || $TRAVIS_EVENT_TYPE == "push" && $TRAVIS_BRANCH == "develop" ]] && docker login -u $DOCKER_HUB_USER -p $DOCKER_HUB_PASS && docker-compose -f docker/docker-compose.yml build && docker push $DOCKER_IMAGE_NAME:$TAG'

0 comments on commit 2436a12

Please sign in to comment.