Skip to content

Commit 58d38e1

Browse files
committed
moves deploy to docker stage
1 parent 690d67a commit 58d38e1

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

.travis.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ jobs:
1111
include:
1212
- stage: docker
1313
script: docker build . -t glider-dac-status
14+
deploy:
15+
provider: script
16+
script: bash "$TRAVIS_BUILD_DIR/scripts/docker_push.sh"
17+
on:
18+
repo: ioos/glider-dac-status
19+
branch: master
20+
tags: true
1421
- stage: test
1522
install: cp tests/Dockerfile ./Dockerfile
16-
script: docker build . -t test
23+
script: docker build . -t test
1724
stages:
1825
- docker
19-
- test
20-
deploy:
21-
provider: script
22-
script: bash "$TRAVIS_BUILD_DIR/scripts/docker_push.sh"
23-
on:
24-
repo: ioos/glider-dac-status
25-
branch: master
26-
tags: true
26+
- test

0 commit comments

Comments
 (0)