anvil: test on travis

This commit is contained in:
Victor Berger 2018-05-07 20:03:14 +02:00
parent 23faeae20f
commit ae1395fb32
1 changed files with 5 additions and 0 deletions

View File

@ -47,6 +47,8 @@ env:
- FEATURES="default"
# test all features simultaneously
- FEATURES="all"
# test our house compositor
- FEATURES="anvil"
matrix:
include:
@ -85,6 +87,9 @@ script:
vagga cargo-$TRAVIS_RUST_VERSION install -f clippy &&
vagga cargo-$TRAVIS_RUST_VERSION clippy --all-features -- -D warnings
;;
"anvil")
vagga cargo-$TRAVIS_RUST_VERSION test -p anvil --all-features
;;
*)
vagga cargo-$TRAVIS_RUST_VERSION test --lib --doc --tests --no-default-features --features "$FEATURES" &&
vagga cargo-$TRAVIS_RUST_VERSION doc --no-deps --no-default-features --features "$FEATURES"