From 9ecce0d61fda05fecd503f1cce51d336331761cd Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 3 Jun 2018 14:02:17 -0700 Subject: [PATCH] Short-circuit build steps --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 24bf1000..45ea7a0a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,9 @@ matrix: - RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test --features nightly - cargo update -Z minimal-versions && cargo build +before_script: + - set -o errexit + script: - cargo test - RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test