Haibo Huang | 55182b4 | 2020-04-22 14:10:10 -0700 | [diff] [blame] | 1 | language: rust |
| 2 | rust: |
| 3 | - nightly |
| 4 | sudo: false |
| 5 | cache: cargo |
| 6 | |
| 7 | matrix: |
| 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 | |
| 34 | script: |
| 35 | - cargo build |
| 36 | - cargo test |
| 37 | - cargo test --release |
| 38 | |
| 39 | notifications: |
| 40 | email: |
| 41 | on_success: never |