test_features.sh: re-enable as a simple build
This commit is contained in:
parent
03884fdbcc
commit
c9d82acf00
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue