blob: ba0eb0de0bafd458c10d991f0db9ea355241fcd3 [file] [log] [blame]
Haibo Huang55182b42020-04-22 14:10:10 -07001language: rust
2rust:
3 - nightly
4sudo: false
5cache: cargo
6
7matrix:
8 include:
9 # This is the minimum Rust version supported by pin-utils.
10 # When updating this, the reminder to update the minimum required version in README.md.
11 - name: cargo test (minimum required version)
12 rust: 1.33.0
13
14 - name: cargo +stable test
15 rust: stable
16
17 - name: cargo test
18 os: osx
19
20 - name: cargo test
21 os: linux
22
23 - name: cargo clippy
24 rust: stable
25 script:
26 - rustup component add clippy
27 - cargo clippy -- -Dwarnings
28
29 - name: cargo doc
30 rust: nightly
31 script:
32 - RUSTDOCFLAGS=-Dwarnings cargo doc
33
34script:
35 - cargo build
36 - cargo test
37 - cargo test --release
38
39notifications:
40 email:
41 on_success: never