Stjepan Glavina | 6c30a4f | 2019-08-12 20:56:03 +0200 | [diff] [blame] | 1 | language: rust |
| 2 | |
| 3 | os: linux |
| 4 | |
| 5 | rust: nightly |
| 6 | |
Stjepan Glavina | 0babb03 | 2019-08-12 21:05:24 +0200 | [diff] [blame] | 7 | addons: |
| 8 | apt: |
| 9 | packages: |
| 10 | - valgrind |
| 11 | |
Stjepan Glavina | 6c30a4f | 2019-08-12 20:56:03 +0200 | [diff] [blame] | 12 | before_script: |
| 13 | - rustup component add rustfmt |
| 14 | |
| 15 | script: |
Stjepan Glavina | 6c30a4f | 2019-08-12 20:56:03 +0200 | [diff] [blame] | 16 | - cargo fmt --all -- --check |
Stjepan Glavina | 0babb03 | 2019-08-12 21:05:24 +0200 | [diff] [blame] | 17 | - cargo check --benches --bins --examples --tests |
Stjepan Glavina | a7daa19 | 2019-08-12 21:15:47 +0200 | [diff] [blame] | 18 | - CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER="valgrind --leak-check=full --error-exitcode=1" |
Stjepan Glavina | d6100f7 | 2019-08-12 21:59:07 +0200 | [diff] [blame^] | 19 | cargo test -- --test-threads=1 |