summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorPaul Osborne <osbpau@gmail.com>2016-03-17 11:07:26 -0500
committerPaul Osborne <osbpau@gmail.com>2016-03-17 11:07:26 -0500
commitec470223f460db321a52eed329b208ce64df7699 (patch)
treecb924d7573491c1fe958909a8706235b73fb88ab /.travis.yml
parent2a5360b8f4ce09836aa3aee51dd679daab39b198 (diff)
downloadnix-ec470223f460db321a52eed329b208ce64df7699.zip
travis: only require sudo on docker/i686 builds
Signed-off-by: Paul Osborne <osbpau@gmail.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 67668a1d..0f9f179b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,5 @@
language: rust
-sudo: required
+sudo: false
dist: trusty
services:
- docker
@@ -27,24 +27,31 @@ matrix:
- os: linux
env: ARCH=i686
rust: stable
+ sudo: true
- os: osx
env: ARCH=i686
rust: stable
+ sudo: true
- os: linux
env: TARGET=aarch64-unknown-linux-gnu DOCKER_IMAGE=posborne/rust-cross:arm
rust: 1.7.0
+ sudo: true
- os: linux
env: TARGET=arm-unknown-linux-gnueabihf DOCKER_IMAGE=posborne/rust-cross:arm
rust: 1.7.0
+ sudo: true
- os: linux
env: TARGET=mips-unknown-linux-gnu DOCKER_IMAGE=posborne/rust-cross:mips
rust: 1.7.0
+ sudo: true
- os: linux
env: TARGET=mipsel-unknwon-linux-gnu DOCKER_IMAGE=posborne/rust-cross:mips
rust: 1.7.0
+ sudo: true
- os: linux
env: TARGET=arm-linux-androideabi DOCKER_IMAGE=posborne/rust-cross:android
rust: 1.7.0
+ sudo: true
allow_failures:
- rust: nightly
- env: TARGET=aarch64-unknown-linux-gnu DOCKER_IMAGE=posborne/rust-cross:arm