Skip to content

Commit 086d7b5

Browse files
committed
Use stages with defined order in TravisCI
1 parent 6812ab3 commit 086d7b5

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.travis.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ services:
55

66
jobs:
77
include:
8-
- name: test
8+
# A stage is a group of jobs that are allowed to run in parallel.
9+
- stage: test
910
script: make node package enable integration
10-
- name: deploy
11+
- stage: deploy
1112
script: skip
1213
before_deploy:
1314
- echo "$DOCKER_PASSWORD" | docker login "$DOCKER_REGISTRY" -u "$DOCKER_USERNAME" --password-stdin;
@@ -16,6 +17,11 @@ jobs:
1617
script: make push
1718
on:
1819
branch: master
19-
- name: verify
20+
- stage: verify
2021
install: skip
2122
script: make pull
23+
24+
stages:
25+
- test
26+
- deploy
27+
- verify

0 commit comments

Comments
 (0)