From 976e13639ee3f21d0ec28ae63fbc56690740b9f3 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 4 Nov 2015 23:38:51 +0800 Subject: [PATCH] travis/get-*: fail build earlier on problems --- .travis/get-anaconda.sh | 2 ++ .travis/get-toolchain.sh | 2 ++ .travis/get-xilinx.sh | 2 ++ 3 files changed, 6 insertions(+) diff --git a/.travis/get-anaconda.sh b/.travis/get-anaconda.sh index 69f107dce..383cdaa00 100755 --- a/.travis/get-anaconda.sh +++ b/.travis/get-anaconda.sh @@ -1,6 +1,8 @@ #!/bin/sh # Copyright (C) 2014, 2015 Robert Jordens +set -e + export PATH=$HOME/miniconda/bin:$PATH wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh bash miniconda.sh -b -p $HOME/miniconda diff --git a/.travis/get-toolchain.sh b/.travis/get-toolchain.sh index 6dd5f94ff..e7a61a91d 100755 --- a/.travis/get-toolchain.sh +++ b/.travis/get-toolchain.sh @@ -1,5 +1,7 @@ #!/bin/sh +set -e + packages="http://us.archive.ubuntu.com/ubuntu/pool/universe/i/iverilog/iverilog_0.9.7-1_amd64.deb" mkdir -p packages diff --git a/.travis/get-xilinx.sh b/.travis/get-xilinx.sh index 61eaf091a..8ea50d25e 100755 --- a/.travis/get-xilinx.sh +++ b/.travis/get-xilinx.sh @@ -2,6 +2,8 @@ # Copyright (C) 2014, 2015 M-Labs Limited # Copyright (C) 2014, 2015 Robert Jordens +set -e + wget http://sionneau.net/artiq/Xilinx/xilinx_ise_14.7_s3_s6.tar.gz.gpg echo "$secret" | gpg --passphrase-fd 0 xilinx_ise_14.7_s3_s6.tar.gz.gpg tar -C $HOME/ -xzf xilinx_ise_14.7_s3_s6.tar.gz