Skip to content

Commit 1eba324

Browse files
committed
ci(travis): Runs the Docker image build as part of the scripts.
1 parent 13c086d commit 1eba324

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ before_script:
2323
script:
2424
- npm run build
2525
- npm run lint -- -c tslint.travis.json
26+
- docker build -t "$DOCKER_REPO_SLUG:$TRAVIS_BRANCH" .;
2627

2728
after_script:
2829
- pkill mongod
@@ -32,7 +33,6 @@ after_success:
3233
- npm run semantic-release
3334
- greenkeeper-lockfile-upload
3435
- if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
35-
docker build -t "$DOCKER_REPO_SLUG:$TRAVIS_BRANCH" .;
3636
docker images;
3737
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
3838
docker push $DOCKER_REPO_SLUG:$TRAVIS_BRANCH;

0 commit comments

Comments
 (0)