Skip to content

Commit c60687d

Browse files
authored
Merge pull request #15 from demokratie-live/sprint#5/travis
still not working -.-
2 parents 5b0473a + 5a4db52 commit c60687d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,10 @@ matrix:
1616
script:
1717
- yarn lint
1818
after_success:
19-
# docker on master branch
20-
- if [ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false"]; then
19+
- if [ $TRAVIS_BRANCH == "master" ] then
2120
docker login -u "$DOCKER_USER" -p "$DOCKER_PASS";
2221
export REPO="democracy/democracy-server";
23-
docker build -f Dockerfile -t $REPO:$COMMIT .;
22+
docker build -f Dockerfile -t $REPO:$COMMIT .
2423
docker push $REPO;
2524
fi
2625
after_script:

0 commit comments

Comments
 (0)