From 55c5b7455aa988a9b9396c9828b5e92da602d272 Mon Sep 17 00:00:00 2001 From: Yoan Lecoq Date: Sun, 3 Feb 2019 16:53:27 +0100 Subject: [PATCH] CI: test with libm --- ci/test_full.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ci/test_full.sh b/ci/test_full.sh index 08632d4..8d783a0 100755 --- a/ci/test_full.sh +++ b/ci/test_full.sh @@ -8,10 +8,19 @@ echo Testing num-traits on rustc ${TRAVIS_RUST_VERSION} cargo build --verbose cargo test --verbose +# test with std and libm +cargo build --verbose --features "libm" +cargo test --verbose --features "libm" + # test `no_std` cargo build --verbose --no-default-features cargo test --verbose --no-default-features +# test `no_std` with libm +cargo build --verbose --no-default-features --features "libm" +cargo test --verbose --no-default-features --features "libm" + + # test `i128` if [[ "$TRAVIS_RUST_VERSION" =~ ^(nightly|beta|stable)$ ]]; then cargo build --verbose --features=i128