Bug 1371707 - Fix Linux x86 packages on Travis for geckodriver; r?whimboo
It is not clear exactly why, but Travis will complain that gcc and
gcc-multilib packages cannot be installed because they are virtual. The
working theory is that the virtual packages do not correctly resolve to
the concrete gcc-4.8 and gcc-4.8-multilib packages.
This patch fixes compilation of geckodriver on Travis, which we at the
moment use for releasing geckodriver.
DONTBUILD
MozReview-Commit-ID: H1zsUgDi7wO
--- a/testing/geckodriver/.travis.yml
+++ b/testing/geckodriver/.travis.yml
@@ -1,21 +1,21 @@
language: generic
cache:
directories:
- $HOME/.cargo
- $TRAVIS_BUILD_DIR/target
- $HOME/docker/
-
+
before_install:
- if [[ "$NAME" == "linux32" ]]; then
sudo dpkg --purge build-essential libtool;
sudo apt-get -qq update;
- sudo apt-get -yq --force-yes install libstdc++6:i386 libbz2-dev:i386 gcc-multilib:i386 musl-tools:i386; fi
-
+ sudo apt-get -yq --force-yes install libstdc++6:i386 libbz2-dev:i386 gcc-4.8:i386 gcc-4.8-multilib:i386 musl-tools:i386 binutils:i386; fi
+
matrix:
include:
- os: linux
env:
- TARGET=armv7-unknown-linux-gnueabihf
- NAME=arm7hf
- EXT=tar.gz
addons: