Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipe444 committed Feb 4, 2019
1 parent 796272a commit 53e00f5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ jobs:
script:
- mvn clean verify jacoco:report coveralls:report
- stage: build & publish docker image for server
if: branch = master
# if: branch = master
script:
- mvn docker:build@build-docker -P docker-app -f ./judge-d-server/pom.xml
- echo "Pushing to docker registry"
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker push hltech/judge-d
# - echo "Pushing to docker registry"
# - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
# - docker push hltech/judge-d
- echo "Pushing to heroku registry"
- docker login -u _ -p "$HEROKU_API_KEY" registry.heroku.com
- 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
script:
- heroku container:release web -a judge-d
- stage: build & publish docker image for agent
Expand Down

0 comments on commit 53e00f5

Please sign in to comment.