From 7d0c07cd3963a48ebaae168f76191affca780dae Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Thu, 27 Jul 2017 15:02:25 -0500 Subject: [PATCH] travis: install linker --- .travis.yml | 30 +++++++++++++++++++++++++++++- ci/install.sh | 2 +- ci/script.sh | 2 +- 3 files changed, 31 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0fdf5a8b73..094e996c93 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,19 +4,47 @@ matrix: include: - env: TARGET=x86_64-unknown-linux-gnu rust: nightly + - env: TARGET=thumbv6m-none-eabi rust: nightly + addons: + apt: + sources: + - debian-sid + packages: + - binutils-arm-none-eabi + - env: TARGET=thumbv7m-none-eabi rust: nightly + addons: + apt: + sources: + - debian-sid + packages: + - binutils-arm-none-eabi + - env: TARGET=thumbv7em-none-eabi rust: nightly + addons: + apt: + sources: + - debian-sid + packages: + - binutils-arm-none-eabi + - env: TARGET=thumbv7em-none-eabihf rust: nightly + addons: + apt: + sources: + - debian-sid + packages: + - binutils-arm-none-eabi before_install: set -e install: - - sh ci/install.sh + - bash ci/install.sh script: - bash ci/script.sh diff --git a/ci/install.sh b/ci/install.sh index 6e7fcc28d4..efb4882830 100644 --- a/ci/install.sh +++ b/ci/install.sh @@ -1,4 +1,4 @@ -set -ex +set -euxo pipefail main() { case $TARGET in diff --git a/ci/script.sh b/ci/script.sh index 5b9cea7f4a..6b85502462 100644 --- a/ci/script.sh +++ b/ci/script.sh @@ -1,4 +1,4 @@ -set -ex +set -euxo pipefail main() { if [ $TARGET = x86_64-unknown-linux-gnu ]; then