From a7674aa4281d66bd9b59ec1f203c97a0a2b0e3f5 Mon Sep 17 00:00:00 2001
From: gnzlbg <gonzalobg88@gmail.com>
Date: Sat, 9 Feb 2019 11:42:52 +0100
Subject: [PATCH] Do not allow rustup to fail

---
 .travis.yml | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 4be7e2ec..ac111e2c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -34,82 +34,98 @@ matrix:
       script: sh ci/build.sh
       stage: tools-and-build-and-tier1
       rust: stable
+      install: true
     - name: "Build Beta Rust"
       script: sh ci/build.sh
       stage: tools-and-build-and-tier1
       rust: beta
+      install: true
     - name: "Build Nightly Rust"
       script: sh ci/build.sh
       stage: tools-and-build-and-tier1
       rust: nightly
+      install: true
     - name: "Build Stable Rust"
       script: sh ci/build.sh
       stage: tools-and-build-and-tier1
       rust: stable
       os: osx
       osx_image: xcode10
+      install: true
     - name: "Build Beta Rust"
       script: sh ci/build.sh
       stage: tools-and-build-and-tier1
       rust: beta
       os: osx
       osx_image: xcode10
+      install: true
     - name: "Build Nightly Rust"
       script: sh ci/build.sh
       stage: tools-and-build-and-tier1
       rust: nightly
       os: osx
       osx_image: xcode10
+      install: true
     - name: "Build Stable Rust 1.13.0"
       script: sh ci/build.sh
       stage: tools-and-build-and-tier1
       rust: 1.13.0
+      install: true
     - name: "Build Stable Rust 1.19.0"
       script: sh ci/build.sh
       stage: tools-and-build-and-tier1
       rust: 1.19.0
+      install: true
     - name: "Build Stable Rust 1.24.0"
       script: sh ci/build.sh
       stage: tools-and-build-and-tier1
       rust: 1.24.0
+      install: true
     - name: "Build Stable Rust 1.25.0"
       script: sh ci/build.sh
       stage: tools-and-build-and-tier1
       rust: 1.25.0
+      install: true
     - name: "Build Stable Rust 1.30.0"
       script: sh ci/build.sh
       stage: tools-and-build-and-tier1
       rust: 1.30.0
+      install: true
     - name: "Build Stable Rust 1.13.0"
       script: sh ci/build.sh
       stage: tools-and-build-and-tier1
       rust: 1.13.0
       os: osx
       osx_image: xcode10
+      install: true
     - name: "Build Stable Rust 1.19.0"
       script: sh ci/build.sh
       stage: tools-and-build-and-tier1
       rust: 1.19.0
       os: osx
       osx_image: xcode10
+      install: true
     - name: "Build Stable Rust 1.24.0"
       script: sh ci/build.sh
       stage: tools-and-build-and-tier1
       rust: 1.24.0
       os: osx
       osx_image: xcode10
+      install: true
     - name: "Build Stable Rust 1.25.0"
       script: sh ci/build.sh
       stage: tools-and-build-and-tier1
       rust: 1.25.0
       os: osx
       osx_image: xcode10
+      install: true
     - name: "Build Stable Rust 1.30.0"
       script: sh ci/build.sh
       stage: tools-and-build-and-tier1
       rust: 1.30.0
       os: osx
       osx_image: xcode10
+      install: true
     - env: TARGET=i686-apple-darwin
       os: osx
       osx_image: xcode10
@@ -119,9 +135,11 @@ matrix:
     - env: TARGET=x86_64-apple-darwin
       os: osx
       osx_image: xcode10
+      install: true
       stage: tools-and-build-and-tier1
     - env: TARGET=x86_64-unknown-linux-gnu
       stage: tools-and-build-and-tier1
+      install: true
 
     # Tier 2 targets
     - env: TARGET=aarch64-linux-android
@@ -174,7 +192,7 @@ matrix:
       - env: TARGET=asmjs-unknown-emscripten
       - env: TARGET=wasm32-unknown-emscripten
 
-install: rustup target add $TARGET || true
+install: rustup target add $TARGET
 
 script:
   - cargo generate-lockfile --manifest-path libc-test/Cargo.toml
-- 
GitLab