ruffle/.travis.yml

18 lines
635 B
YAML
Raw Normal View History

2017-06-24 22:08:46 +00:00
language: rust
rust:
- stable
- beta
- nightly
cache: cargo
matrix:
allow_failures:
- rust: nightly
before_script:
- export PATH="$PATH:$HOME/.cargo/bin"
- (test $TRAVIS_RUST_VERSION != "nightly" || cargo install rustfmt-nightly || true)
2017-06-24 22:08:46 +00:00
script:
- (test $TRAVIS_RUST_VERSION != "nightly" || cargo fmt -- --write-mode=diff)
2017-06-24 23:01:14 +00:00
- (test $TRAVIS_RUST_VERSION != "nightly" || cargo build --features "clippy")
2017-06-25 02:26:04 +00:00
- (test $TRAVIS_RUST_VERSION != "nightly" || cargo test --features "clippy")
- (test $TRAVIS_RUST_VERSION == "nightly" || cargo build)
- (test $TRAVIS_RUST_VERSION == "nightly" || cargo test)