Browse Source

separate lint step from build/test

refactor-mempool
Lawrence Nahum 7 years ago
parent
commit
7ca32964a0
No known key found for this signature in database GPG Key ID: 17AB8BC320B151D8
  1. 20
      .travis.yml

20
.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

Loading…
Cancel
Save