From c9d82acf00044138ae88fd3fde3dc9e6a96e693a Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Fri, 25 Mar 2016 17:05:10 -0700 Subject: [PATCH] test_features.sh: re-enable as a simple build --- .travis.yml | 1 + .travis/test_features.sh | 2 +- src/lib.rs | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index beadc77..f4900c3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ rust: sudo: false script: - make test + - .travis/test_features.sh - | [ $TRAVIS_RUST_VERSION != nightly ] || .travis/test_nightly.sh - cargo doc diff --git a/.travis/test_features.sh b/.travis/test_features.sh index 5ff01c0..109fd50 100755 --- a/.travis/test_features.sh +++ b/.travis/test_features.sh @@ -3,5 +3,5 @@ set -ex for feature in '' bigint rational complex; do - cargo test --verbose --no-default-features --features="$feature" + cargo build --verbose --no-default-features --features="$feature" done diff --git a/src/lib.rs b/src/lib.rs index 0d594f1..b928e43 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -97,6 +97,7 @@ use std::ops::{Mul}; #[cfg(feature = "num-bigint")] pub use num_bigint as bigint; +#[cfg(feature = "num-complex")] pub use num_complex as complex; pub use num_integer as integer; pub use num_iter as iter;