-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.travis.yml
More file actions
32 lines (32 loc) · 709 Bytes
/
.travis.yml
File metadata and controls
32 lines (32 loc) · 709 Bytes
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
30
31
32
language: rust
cache: cargo
rust:
- stable
- beta
- nightly
os:
- linux
- osx
env: TYPE=default RUST_BACKTRACE=1
matrix:
include:
- os: linux
rust: nightly
env: TYPE=bench RUST_BACKTRACE=1
script: cargo bench --features asm
- os: osx
rust: nightly
env: TYPE=bench RUST_BACKTRACE=1
script: cargo bench --features asm
- os: linux
rust: nightly
env: TYPE=rustfmt RUST_BACKTRACE=1
script:
- cargo install rustfmt -f --vers 0.8.4 || exit 0
- cargo fmt -- --write-mode=diff
- os: linux
rust: nightly
env: TYPE=clippy RUST_BACKTRACE=1
script:
- cargo install clippy -f || exit 0
- cargo clippy