Browse Source
separate lint step from build/test
refactor-mempool
Lawrence Nahum
7 years ago
No known key found for this signature in database
GPG Key ID: 17AB8BC320B151D8
1 changed files with
14 additions and
6 deletions
-
.travis.yml
|
|
@ -6,10 +6,18 @@ cache: |
|
|
|
cargo: true |
|
|
|
timeout: 450 |
|
|
|
|
|
|
|
before_script: |
|
|
|
- rustup component add rustfmt-preview |
|
|
|
stages: |
|
|
|
- lint |
|
|
|
- test |
|
|
|
|
|
|
|
script: |
|
|
|
- cargo fmt --all -- --write-mode=check |
|
|
|
- cargo build |
|
|
|
- cargo test |
|
|
|
jobs: |
|
|
|
include: |
|
|
|
- stage: test |
|
|
|
script: |
|
|
|
- cargo build |
|
|
|
- cargo test |
|
|
|
- stage: lint |
|
|
|
before_script: |
|
|
|
- rustup component add rustfmt-preview |
|
|
|
script: |
|
|
|
- cargo fmt --all -- --write-mode=check |
|
|
|