mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 04:05:32 +00:00
284a385713
When a tag is pushed we will following this patch also do a release build if the debug build and tests passes. We will then being packaging for each target, along with an archive for the source code. The packages are named after the targets. We do a normal debug build and tests first because these are cheaper to do and will give a shorter turnaround time for developers if any tests fail. You can also only run tests with debug builds. Fixes #72. Source-Repo: https://github.com/mozilla/geckodriver Source-Revision: 54a96438a7d7a5c8da51f082aff300ac22dc1a4d committer: jgraham <james@hoppipolla.co.uk> --HG-- extra : rebase_source : fbbf77d97620a2ea7f1ba44e48c9a6a9816a3c66
57 lines
1.3 KiB
YAML
57 lines
1.3 KiB
YAML
language: generic
|
|
|
|
matrix:
|
|
include:
|
|
- env: TARGET=armv7-unknown-linux-gnueabihf
|
|
addons:
|
|
apt:
|
|
packages: &armhf
|
|
- gcc-arm-linux-gnueabihf
|
|
- libc6-armhf-cross
|
|
- libc6-dev-armhf-cross
|
|
- env: TARGET=x86_64-unknown-linux-musl
|
|
dist: trusty
|
|
sudo: required
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- musl-tools
|
|
- libbz2-dev
|
|
- 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
|
|
|
|
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
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
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.zip"
|
|
- "geckodriver-$TRAVIS_TAG-win64.zip"
|
|
- "geckodriver-$TRAVIS_TAG-linux64.tar.gz"
|
|
on:
|
|
tags: true
|
|
repo: mozilla/geckodriver
|