Skip to content

Commit

Permalink
stop docker containers after finishing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AO-StreetArt committed Sep 25, 2018
1 parent 1fa1a11 commit b4c31ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ script:
- sleep 45
- curl http://localhost:5635/health
- cd $TRAVIS_BUILD_DIR/src/test/resources && newman run AssetAPI.postman_collection.json -e AeselTest.postman_environment.json
- docker stop $(docker ps -aq)
- docker rm $(docker ps -aq)
after_success:
- docker build -t aostreetart/kelona:latest
- scripts/linux/push_docker.sh $DOCKER_MAIL $DOCKER_UN $DOCKER_PW $TRAVIS_BRANCH
Expand Down

0 comments on commit b4c31ec

Please sign in to comment.