From 1ef724a7d7398850f4cfda8577fb46e89b74f592 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Tue, 23 Jul 2019 10:35:16 +0200 Subject: [PATCH] Add test check in CI --- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index 6b8519f..1926f84 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,3 +13,10 @@ rust: matrix: allow_failures: - rust: nightly + +script: + - if [[ "$TRAVIS_RUST_VERSION" == "nightly" ]]; then + cargo test --features readme; + else + cargo test; + fi