summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorLilian A. Moraru <lilian.moraru90@gmail.com>2017-12-17 15:41:51 +0200
committerAndrew Gallant <jamslam@gmail.com>2017-12-18 16:26:27 -0500
commitd775259ed9399037e1a1da0ff65dd377bc8b82d1 (patch)
tree5bc68bd932e600772a28d0cfd4d441782d5d481a /.travis.yml
parentd73a75d6cd82068252c35c5718900b6a1acb296e (diff)
Add armhf build to Travis CI
Fixes #676
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index c0e90878..6fa631e7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,6 +25,16 @@ matrix:
- os: osx
rust: nightly
env: TARGET=x86_64-apple-darwin
+ - os: linux
+ rust: nightly
+ env: TARGET=arm-unknown-linux-gnueabihf GCC_VERSION=4.8
+ addons:
+ apt:
+ packages:
+ - gcc-4.8-arm-linux-gnueabihf
+ - binutils-arm-linux-gnueabihf
+ - libc6-armhf-cross
+ - libc6-dev-armhf-cross
# Beta channel.
- os: linux
rust: beta
@@ -39,6 +49,16 @@ matrix:
- os: linux
rust: 1.17.0
env: TARGET=x86_64-unknown-linux-musl
+ - os: linux
+ rust: 1.17.0
+ env: TARGET=arm-unknown-linux-gnueabihf GCC_VERSION=4.8
+ addons:
+ apt:
+ packages:
+ - gcc-4.8-arm-linux-gnueabihf
+ - binutils-arm-linux-gnueabihf
+ - libc6-armhf-cross
+ - libc6-dev-armhf-cross
before_install:
- export PATH="$PATH:$HOME/.cargo/bin"