From 5a54374330cf086bd64acb3dd070986ed958afe6 Mon Sep 17 00:00:00 2001 From: Sergey Pepyakin Date: Sat, 20 Oct 2018 17:51:21 +0200 Subject: [PATCH] Add no_std check to the Travis CI config --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 68a5cda..be29218 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: |