forked from imsnif/bandwhich
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (29 loc) · 872 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
os:
- linux
- osx
language: rust
rust:
- stable
- beta
before_script:
- rustup component add rustfmt clippy
script:
- set -e # Abort on failure, see https://github.com/travis-ci/travis-ci/issues/1066
- cargo fmt -- --check
- cargo build --verbose
- cargo test --verbose
- cargo clippy --all-targets --all-features -- -D warnings
matrix:
include:
- os: linux
rust: nightly
before_script:
- rustup component add rustfmt
- rustup component add clippy --toolchain=nightly || cargo install --git https://github.com/rust-lang/rust-clippy/ --force clippy
- os: osx
rust: nightly
before_script:
- rustup component add rustfmt
- rustup component add clippy --toolchain=nightly || cargo install --git https://github.com/rust-lang/rust-clippy/ --force clippy
allow_failures:
- rust: nightly