test_features.sh: re-enable as a simple build

This commit is contained in:
Josh Stone 2016-03-25 17:05:10 -07:00
parent 03884fdbcc
commit c9d82acf00
3 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,7 @@ rust:
sudo: false
script:
- make test
- .travis/test_features.sh
- |
[ $TRAVIS_RUST_VERSION != nightly ] || .travis/test_nightly.sh
- cargo doc

View File

@ -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

View File

@ -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;