From 094b0d4e854651165d3b5addd5534b2e5d8bd766 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 3 Nov 2015 14:22:29 -0800 Subject: [PATCH] Only run libc-test on nightly Otherwise just make sure the library builds on other Rust versions --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f772fb525b18e..c53fcf1e21e60 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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