2018-11-23 02:05:08 +11:00
|
|
|
# Set up the Rust toolchain.
|
|
|
|
language: rust
|
|
|
|
rust:
|
2019-01-28 07:16:14 +11:00
|
|
|
- stable
|
2018-11-23 02:05:08 +11:00
|
|
|
|
|
|
|
before_script:
|
2019-01-28 07:16:14 +11:00
|
|
|
- export PATH=$PATH:/home/travis/.cargo/bin
|
|
|
|
- rustup component add rustfmt-preview
|
2018-11-23 02:05:08 +11:00
|
|
|
|
|
|
|
os:
|
2019-01-28 07:16:14 +11:00
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
- windows
|
2018-11-23 02:05:08 +11:00
|
|
|
|
|
|
|
script:
|
2019-01-28 07:16:14 +11:00
|
|
|
- cargo build
|
2019-07-26 01:46:55 +10:00
|
|
|
- cargo fmt -- --check
|
|
|
|
- cargo test -- --nocapture --test-threads 1
|