travis: install linker

This commit is contained in:
Jorge Aparicio 2017-07-27 15:02:25 -05:00
parent 5e83dc295e
commit 7d0c07cd39
3 changed files with 31 additions and 3 deletions

View file

@ -4,19 +4,47 @@ matrix:
include: include:
- env: TARGET=x86_64-unknown-linux-gnu - env: TARGET=x86_64-unknown-linux-gnu
rust: nightly rust: nightly
- env: TARGET=thumbv6m-none-eabi - env: TARGET=thumbv6m-none-eabi
rust: nightly rust: nightly
addons:
apt:
sources:
- debian-sid
packages:
- binutils-arm-none-eabi
- env: TARGET=thumbv7m-none-eabi - env: TARGET=thumbv7m-none-eabi
rust: nightly rust: nightly
addons:
apt:
sources:
- debian-sid
packages:
- binutils-arm-none-eabi
- env: TARGET=thumbv7em-none-eabi - env: TARGET=thumbv7em-none-eabi
rust: nightly rust: nightly
addons:
apt:
sources:
- debian-sid
packages:
- binutils-arm-none-eabi
- env: TARGET=thumbv7em-none-eabihf - env: TARGET=thumbv7em-none-eabihf
rust: nightly rust: nightly
addons:
apt:
sources:
- debian-sid
packages:
- binutils-arm-none-eabi
before_install: set -e before_install: set -e
install: install:
- sh ci/install.sh - bash ci/install.sh
script: script:
- bash ci/script.sh - bash ci/script.sh

View file

@ -1,4 +1,4 @@
set -ex set -euxo pipefail
main() { main() {
case $TARGET in case $TARGET in

View file

@ -1,4 +1,4 @@
set -ex set -euxo pipefail
main() { main() {
if [ $TARGET = x86_64-unknown-linux-gnu ]; then if [ $TARGET = x86_64-unknown-linux-gnu ]; then