gecko-dev/testing/geckodriver/.travis.yml
James Graham 4ae7f0d89f geckodriver: Encourage travis to actually deploy when we tag a version.
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: a7ddb25e9a02f4856c2ee732079ad8ad19156c99

--HG--
extra : rebase_source : 062b27920d7bb73d4ef4eb5dabbb56de7cdaa790
2016-06-30 17:15:52 +01:00

59 lines
1.4 KiB
YAML

language: generic
matrix:
include:
- os: linux
env: TARGET=armv7-unknown-linux-gnueabihf
addons:
apt:
packages: &armhf
- gcc-arm-linux-gnueabihf
- libc6-armhf-cross
- libc6-dev-armhf-cross
- os: linux
env: TARGET=x86_64-unknown-linux-musl
dist: trusty
sudo: required
addons:
apt:
packages:
- musl-tools
- libbz2-dev
- os: linux
env: TARGET=x86_64-pc-windows-gnu
dist: trusty
addons:
apt:
packages:
- gcc-mingw-w64
- gcc-mingw-w64-x86-64
- binutils-mingw-w64-x86-64
- libbz2-dev
- os: osx
env: TARGET=x86_64-apple-darwin
install:
- export PATH="$PATH:$HOME/.cargo/bin"
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=stable
- rustc -V
- cargo -V
script:
- bash ci.sh
deploy:
provider: releases
api_key:
secure:
OY6y0xRhlGSBH+3+7+7K6s4pp0Tf3BA61NAubEK4gpO23AKfyJUK+vqqCbdo06Z0E4QO4O1ke6fot7Gq9EdxJmsl/Kk5LDd9Rv3BXSYdjPupzs7coYuD8wv10NfAX6ETd9ITyPim2Zq6bq8nx1S2ESTpos/js1HCtVW3nrlCV58=
skip_cleanup: true
file:
- "geckodriver-$TRAVIS_TAG.tar.gz"
- "geckodriver-$TRAVIS_TAG-arm7hf.tar.gz"
- "geckodriver-$TRAVIS_TAG-linux64.tar.gz"
- "geckodriver-$TRAVIS_TAG-mac.tar.gz"
- "geckodriver-$TRAVIS_TAG-win64.zip"
on:
tags: true
repo: mozilla/geckodriver