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 sudo: false
script: script:
- make test - make test
- .travis/test_features.sh
- | - |
[ $TRAVIS_RUST_VERSION != nightly ] || .travis/test_nightly.sh [ $TRAVIS_RUST_VERSION != nightly ] || .travis/test_nightly.sh
- cargo doc - cargo doc

View File

@ -3,5 +3,5 @@
set -ex set -ex
for feature in '' bigint rational complex; do for feature in '' bigint rational complex; do
cargo test --verbose --no-default-features --features="$feature" cargo build --verbose --no-default-features --features="$feature"
done done

View File

@ -97,6 +97,7 @@ use std::ops::{Mul};
#[cfg(feature = "num-bigint")] #[cfg(feature = "num-bigint")]
pub use num_bigint as bigint; pub use num_bigint as bigint;
#[cfg(feature = "num-complex")]
pub use num_complex as complex; pub use num_complex as complex;
pub use num_integer as integer; pub use num_integer as integer;
pub use num_iter as iter; pub use num_iter as iter;