2019-01-03 10:51:08 -08:00
|
|
|
language: rust
|
|
|
|
rust:
|
2019-12-12 10:49:20 -08:00
|
|
|
- 1.39.0
|
2019-01-03 10:51:08 -08:00
|
|
|
|
2019-01-03 10:55:16 -08:00
|
|
|
cache: cargo
|
2019-01-03 10:51:08 -08:00
|
|
|
|
2019-08-15 09:45:24 -07:00
|
|
|
before_script:
|
|
|
|
- rustup component add rustfmt
|
|
|
|
|
2019-01-03 10:51:08 -08:00
|
|
|
script:
|
2019-08-27 11:33:18 -07:00
|
|
|
- cargo build --verbose --release --all
|
2019-08-22 07:18:50 -07:00
|
|
|
- cargo fmt --all -- --check
|
2019-01-03 10:51:08 -08:00
|
|
|
- cargo test --verbose --release --all
|
2019-08-28 11:39:35 -07:00
|
|
|
- cargo test --verbose --release --all -- --ignored
|
2019-08-27 11:33:18 -07:00
|
|
|
|
|
|
|
before_cache:
|
|
|
|
- rm -rf "$TRAVIS_HOME/.cargo/registry/src"
|
|
|
|
- cargo install cargo-update || echo "cargo-update already installed"
|
|
|
|
- cargo install-update -a # update outdated cached binaries
|