Add no_std check to the Travis CI config

This commit is contained in:
Sergey Pepyakin 2018-10-20 17:51:21 +02:00
parent baa89afffe
commit 5a54374330
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,8 @@ script:
# Make sure nightly targets are not broken.
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then cargo check --tests --manifest-path=fuzz/Cargo.toml; fi
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then cargo check --benches --manifest-path=benches/Cargo.toml; fi
# Make sure `no_std` version checks.
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then cargo +nightly check --no-default-features --features core; fi
- ./test.sh
- ./doc.sh
after_success: |