Skip to content

Commit ddb274b

Browse files
committed
define test stage in .travis.yml
1 parent 17a7acf commit ddb274b

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.travis.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,19 @@ services:
1717
matrix:
1818
fast_finish: true
1919

20-
# Job lifecycle
21-
script:
22-
- which cargo-make || cargo install cargo-make
23-
- cargo make ci-flow
24-
# But don't cache the cargo registry
25-
before_cache:
26-
- rm -rf /home/travis/.cargo/registry
27-
# End Job lifecycle
20+
stages:
21+
- test
22+
- deploy
2823

2924
jobs:
3025
include:
26+
- stage: test
27+
script:
28+
- which cargo-make || cargo install cargo-make
29+
- cargo make ci-flow
30+
# But don't cache the cargo registry
31+
before_cache:
32+
- rm -rf /home/travis/.cargo/registry
3133
- stage: deploy
3234
if: tag IS present
3335
before_deploy:

0 commit comments

Comments
 (0)