#!/bin/bashset-execho Testing num on rustc ${TRAVIS_RUST_VERSION}# num should build and test everywhere.cargo build --verbosecargo test --verbose# It should build with minimal features too.cargo build --no-default-featurescargo test --no-default-features# Each isolated feature should also work everywhere.for feature in bigint complex rational rustc-serialize serde;docargo build --verbose --no-default-features --features="$feature"cargo test --verbose --no-default-features --features="$feature"done# Downgrade serde and build test the 0.7.0 channel as wellcargo update -p serde --precise 0.7.0cargo build --verbose --features"serde"