5 echo Testing num on rustc
${TRAVIS_RUST_VERSION}
7 # num should build and test everywhere.
11 # It should build with minimal features too.
12 cargo build
--no-default-features
13 cargo
test --no-default-features
15 # Each isolated feature should also work everywhere.
16 for feature
in bigint complex rational rustc-serialize serde
; do
17 cargo build
--verbose --no-default-features --features="$feature"
18 cargo
test --verbose --no-default-features --features="$feature"
21 # Downgrade serde and build test the 0.7.0 channel as well
22 cargo update
-p serde
--precise 0.7.0
23 cargo build
--verbose --features "serde"