Skip to content

Commit

Permalink
Travis fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipe444 committed Dec 6, 2019
1 parent 0b6c62e commit c0b14d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
script:
- mvn clean verify jacoco:report coveralls:report
- stage: build & publish docker image for server
if: branch = master
if: branch = master AND NOT type IN (pull_request)
script:
- mvn docker:build@build-docker -P docker-app -f ./judge-d-server/pom.xml
- echo "Pushing to docker registry"
Expand All @@ -24,11 +24,11 @@ jobs:
- docker tag hltech/judge-d registry.heroku.com/judge-d/web
- docker push registry.heroku.com/judge-d/web
- stage: release app in heroku
if: branch = master
if: branch = master AND NOT type IN (pull_request)
script:
- heroku container:release web -a judge-d
- stage: build & publish docker image for agent
if: branch = master
if: branch = master AND NOT type IN (pull_request)
script:
- mvn docker:build@build-docker -P docker-app -f ./judge-d-agent/pom.xml
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
Expand Down

0 comments on commit c0b14d0

Please sign in to comment.