num-traits/.travis/test_nightly.sh

15 lines
314 B
Bash
Executable File

#!/bin/sh
set -ex
cargo bench --verbose
cargo test --verbose --manifest-path=macros/Cargo.toml
# Build test for the serde feature
cargo build --verbose --features "serde"
# Downgrade serde and build test the 0.7.0 channel as well
cargo update -p serde --precise 0.7.0
cargo build --verbose --features "serde"