Skip to content

Commit 3d7bac4

Browse files
committed
testing: fix i686 builds (gcc-multilib)
Signed-off-by: Paul Osborne <[email protected]>
1 parent 64309fa commit 3d7bac4

File tree

2 files changed

+16
-13
lines changed

2 files changed

+16
-13
lines changed

.travis.yml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,21 @@ dist: trusty
44
services:
55
- docker
66

7-
# rust:
8-
# - 1.1.0 # Oldest supported version
9-
# - 1.2.0
10-
# - 1.3.0
11-
# - 1.4.0
12-
# - 1.5.0
13-
# - 1.6.0
14-
# - stable
15-
# - beta
16-
# - nightly
7+
rust:
8+
- 1.1.0 # Oldest supported version
9+
- stable
10+
- beta
11+
- nightly
1712

1813
script:
1914
- bash ci/run-travis.sh
2015

21-
# os:
22-
# - linux
23-
# - osx
16+
env:
17+
- ARCH=x86_64
18+
19+
os:
20+
- linux
21+
- osx
2422

2523
# Failures on nightly shouldn't fail the overall build.
2624
matrix:

ci/run-travis.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ if [ "$TARGET" = "" ]; then
2727
TARGET=$HOST
2828
fi
2929

30+
if [ "$TARGET" = "i686-unknown-linux-gnu" ]; then
31+
sudo apt-get -y update
32+
sudo apt-get install -y gcc-multilib
33+
fi
34+
3035
if [ "$DOCKER_IMAGE" = "" ]; then
3136
export RUST_TEST_THREADS=1
3237
curl -sSL "https://raw.githubusercontent.com/carllerche/travis-rust-matrix/master/test" | bash

0 commit comments

Comments
 (0)