You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
435 B
16 lines
435 B
language: rust
|
|
rust:
|
|
- stable
|
|
- beta
|
|
- nightly
|
|
before_script:
|
|
- bash -c 'if [[ "$TRAVIS_RUST_VERSION" == "nightly"* ]]; then rustup component add rustfmt-preview; fi'
|
|
script:
|
|
- bash -c 'if [[ "$TRAVIS_RUST_VERSION" == "nightly"* ]]; then cargo fmt --all -- --check; fi'
|
|
- cargo build
|
|
- cargo build --features toml
|
|
- cargo build --features all
|
|
- cargo test --features all
|
|
matrix:
|
|
allow_failures:
|
|
- rust: nightly
|
|
|