chore(travis): split doc and test to handle features

Previously it would fail as the built-in doc target in make
doesn't handle features at all.
Now these need to be taken into consideration though for it
to have a chance.
This commit is contained in:
Sebastian Thiel
2016-05-25 13:02:03 +02:00
parent 5ca0217275
commit 864fe8424d

View File

@@ -12,7 +12,8 @@ matrix:
allow_failures:
- os: osx
script:
- make docs-all gen-all-cli cargo-api ARGS="test --no-default-features --features=$FEATURE"
- make gen-all-cli cargo-api ARGS="test --no-default-features --features=$FEATURE"
- make cargo-api ARGS="doc --no-default-features --features=$FEATURE"
- "[[ $TRAVIS_RUST_VERSION = nightly ]] && cargo test"
env:
global: