gecko-dev/testing/geckodriver/.travis.yml
Andreas Tolfsen 5a02bf10e8 geckodriver: ci: force gcc compiler for i686-unknown-linux-musl
Travis at some point changed the default compiler in their images to be
clang.  Cross-compiling Rust code with clang is not possible quite yet,
so we force gcc to be used.

Fixes: https://github.com/mozilla/geckodriver/issues/495
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 043806820230f720c253d3d305dc15747d994b05

committer: jgraham <james@hoppipolla.co.uk>

--HG--
extra : rebase_source : 5b3a96f126a2b657e7659450489a99451ea4103b
2017-04-10 21:23:14 +01:00

91 lines
1.9 KiB
YAML

language: generic
cache:
directories:
- $HOME/.cargo
- $TRAVIS_BUILD_DIR/target
- $HOME/docker/
matrix:
include:
- os: linux
env:
- TARGET=armv7-unknown-linux-gnueabihf
- NAME=arm7hf
- EXT=tar.gz
addons:
apt:
packages: &armhf
- gcc-arm-linux-gnueabihf
- libc6-armhf-cross
- libc6-dev-armhf-cross
- os: linux
env:
- TARGET=x86_64-unknown-linux-musl
- NAME=linux64
- EXT=tar.gz
dist: trusty
sudo: required
addons:
apt:
packages:
- musl-tools
- libbz2-dev
- os: linux
env:
- TARGET=i686-unknown-linux-musl
- NAME=linux32
- EXT=tar.gz
- CC=gcc
dist: trusty
sudo: required
addons:
apt:
packages: &i686
- musl-tools
- gcc-multilib
- libbz2-dev
- os: linux
env:
- TARGET=x86_64-pc-windows-gnu
- NAME=win64
- EXT=zip
dist: trusty
sudo: required
addons:
apt:
packages:
- gcc-mingw-w64-x86-64
- binutils-mingw-w64-x86-64
- libbz2-dev
- os: linux
env:
- TARGET=i686-pc-windows-gnu
- NAME=win32
- EXT=zip
- TOOLCHAIN=nightly
- DOCKER_IMAGE=i686-trusty
dist: trusty
services:
- docker
- os: osx
env:
- TARGET=x86_64-apple-darwin
- NAME=macos
- EXT=tar.gz
script:
- bash ci.sh
deploy:
provider: releases
api_key:
secure:
OY6y0xRhlGSBH+3+7+7K6s4pp0Tf3BA61NAubEK4gpO23AKfyJUK+vqqCbdo06Z0E4QO4O1ke6fot7Gq9EdxJmsl/Kk5LDd9Rv3BXSYdjPupzs7coYuD8wv10NfAX6ETd9ITyPim2Zq6bq8nx1S2ESTpos/js1HCtVW3nrlCV58=
skip_cleanup: true
file:
- "geckodriver-$TRAVIS_TAG-$NAME.$EXT"
on:
tags: true
repo: mozilla/geckodriver
condition: -n "$NAME"