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