Only run libc-test on nightly

Otherwise just make sure the library builds on other Rust versions
This commit is contained in:
Alex Crichton 2015-11-03 14:22:29 -08:00
parent 57ba1fa360
commit 094b0d4e85
1 changed files with 5 additions and 1 deletions

View File

@ -7,7 +7,11 @@ rust:
services:
- docker
script:
- sh ci/run-travis.sh
- if [[ $TRAVIS_RUST_VERSION = nightly* ]]; then
sh ci/run-travis.sh;
else
cargo build;
fi
os:
- linux
- osx