Skip to content

Commit

Permalink
WIP: run only relevant build jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
gnzlbg committed May 14, 2019
1 parent 89a3d03 commit e4ce8ac
Showing 1 changed file with 170 additions and 171 deletions.
341 changes: 170 additions & 171 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ services: docker

stages:
- tools-and-build-and-tier1
- tier2

matrix:
include:
Expand Down Expand Up @@ -34,189 +33,189 @@ matrix:
# cargo fmt --all -- --check
# fi
stage: tools-and-build-and-tier1
- name: "Semver Linux"
install: travis_retry cargo +nightly install semverver
script: sh ci/semver.sh
stage: tools-and-build-and-tier1
- name: "Semver MacOSX"
install: travis_retry cargo +nightly install semverver
script: sh ci/semver.sh
os: osx
osx_image: xcode10
stage: tools-and-build-and-tier1
#- name: "Semver Linux"
# install: travis_retry cargo +nightly install semverver
# script: sh ci/semver.sh
# stage: tools-and-build-and-tier1
#- name: "Semver MacOSX"
# install: travis_retry cargo +nightly install semverver
# script: sh ci/semver.sh
# os: osx
# osx_image: xcode10
# stage: tools-and-build-and-tier1

# BUILD stable, beta, nightly
- name: "Build Stable Rust"
script: sh ci/build.sh
stage: tools-and-build-and-tier1
rust: stable
install: true
- name: "Build Beta Rust"
script: sh ci/build.sh
stage: tools-and-build-and-tier1
rust: beta
install: true
- name: "Build Nightly Rust"
script: sh ci/build.sh
stage: tools-and-build-and-tier1
rust: nightly
install:
- travis_retry rustup component add rust-src
- travis_retry cargo install xargo
- name: "Build Stable Rust"
script: sh ci/build.sh
stage: tools-and-build-and-tier1
rust: stable
os: osx
osx_image: xcode10
install: true
- name: "Build Beta Rust"
script: sh ci/build.sh
stage: tools-and-build-and-tier1
rust: beta
os: osx
osx_image: xcode10
install: true
- name: "Build Nightly Rust"
script: sh ci/build.sh
stage: tools-and-build-and-tier1
rust: nightly
os: osx
osx_image: xcode10
install: true
- name: "Build Stable Rust 1.13.0"
script: sh ci/build.sh
stage: tools-and-build-and-tier1
rust: 1.13.0
install: true
- name: "Build Stable Rust 1.19.0"
script: sh ci/build.sh
stage: tools-and-build-and-tier1
rust: 1.19.0
install: true
- name: "Build Stable Rust 1.24.0"
script: sh ci/build.sh
stage: tools-and-build-and-tier1
rust: 1.24.0
install: true
- name: "Build Stable Rust 1.25.0"
script: sh ci/build.sh
stage: tools-and-build-and-tier1
rust: 1.25.0
install: true
- name: "Build Stable Rust 1.30.0"
script: sh ci/build.sh
stage: tools-and-build-and-tier1
rust: 1.30.0
install: true
- name: "Build Stable Rust 1.13.0"
script: sh ci/build.sh
stage: tools-and-build-and-tier1
rust: 1.13.0
os: osx
osx_image: xcode10
install: true
- name: "Build Stable Rust 1.19.0"
script: sh ci/build.sh
stage: tools-and-build-and-tier1
rust: 1.19.0
os: osx
osx_image: xcode10
install: true
- name: "Build Stable Rust 1.24.0"
script: sh ci/build.sh
stage: tools-and-build-and-tier1
rust: 1.24.0
os: osx
osx_image: xcode10
install: true
- name: "Build Stable Rust 1.25.0"
script: sh ci/build.sh
stage: tools-and-build-and-tier1
rust: 1.25.0
os: osx
osx_image: xcode10
install: true
- name: "Build Stable Rust 1.30.0"
script: sh ci/build.sh
stage: tools-and-build-and-tier1
rust: 1.30.0
os: osx
osx_image: xcode10
install: true
- env: TARGET=i686-apple-darwin
os: osx
osx_image: xcode10
stage: tools-and-build-and-tier1
- env: TARGET=i686-unknown-linux-gnu
stage: tools-and-build-and-tier1
- env: TARGET=x86_64-apple-darwin
os: osx
osx_image: xcode10
install: true
stage: tools-and-build-and-tier1
- env: TARGET=x86_64-unknown-linux-gnu
stage: tools-and-build-and-tier1
install: true
#- name: "Build Stable Rust"
# script: sh ci/build.sh
# stage: tools-and-build-and-tier1
# rust: stable
# install: true
#- name: "Build Beta Rust"
# script: sh ci/build.sh
# stage: tools-and-build-and-tier1
# rust: beta
# install: true
#- name: "Build Nightly Rust"
# script: sh ci/build.sh
# stage: tools-and-build-and-tier1
# rust: nightly
# install:
# - travis_retry rustup component add rust-src
# - travis_retry cargo install xargo
#- name: "Build Stable Rust"
# script: sh ci/build.sh
# stage: tools-and-build-and-tier1
# rust: stable
# os: osx
# osx_image: xcode10
# install: true
#- name: "Build Beta Rust"
# script: sh ci/build.sh
# stage: tools-and-build-and-tier1
# rust: beta
# os: osx
# osx_image: xcode10
# install: true
#- name: "Build Nightly Rust"
# script: sh ci/build.sh
# stage: tools-and-build-and-tier1
# rust: nightly
# os: osx
# osx_image: xcode10
# install: true
#- name: "Build Stable Rust 1.13.0"
# script: sh ci/build.sh
# stage: tools-and-build-and-tier1
# rust: 1.13.0
# install: true
#- name: "Build Stable Rust 1.19.0"
# script: sh ci/build.sh
# stage: tools-and-build-and-tier1
# rust: 1.19.0
# install: true
#- name: "Build Stable Rust 1.24.0"
# script: sh ci/build.sh
# stage: tools-and-build-and-tier1
# rust: 1.24.0
# install: true
#- name: "Build Stable Rust 1.25.0"
# script: sh ci/build.sh
# stage: tools-and-build-and-tier1
# rust: 1.25.0
# install: true
#- name: "Build Stable Rust 1.30.0"
# script: sh ci/build.sh
# stage: tools-and-build-and-tier1
# rust: 1.30.0
# install: true
#- name: "Build Stable Rust 1.13.0"
# script: sh ci/build.sh
# stage: tools-and-build-and-tier1
# rust: 1.13.0
# os: osx
# osx_image: xcode10
# install: true
#- name: "Build Stable Rust 1.19.0"
# script: sh ci/build.sh
# stage: tools-and-build-and-tier1
# rust: 1.19.0
# os: osx
# osx_image: xcode10
# install: true
#- name: "Build Stable Rust 1.24.0"
# script: sh ci/build.sh
# stage: tools-and-build-and-tier1
# rust: 1.24.0
# os: osx
# osx_image: xcode10
# install: true
#- name: "Build Stable Rust 1.25.0"
# script: sh ci/build.sh
# stage: tools-and-build-and-tier1
# rust: 1.25.0
# os: osx
# osx_image: xcode10
# install: true
#- name: "Build Stable Rust 1.30.0"
# script: sh ci/build.sh
# stage: tools-and-build-and-tier1
# rust: 1.30.0
# os: osx
# osx_image: xcode10
# install: true
#- env: TARGET=i686-apple-darwin
# os: osx
# osx_image: xcode10
# stage: tools-and-build-and-tier1
#- env: TARGET=i686-unknown-linux-gnu
# stage: tools-and-build-and-tier1
#- env: TARGET=x86_64-apple-darwin
# os: osx
# osx_image: xcode10
# install: true
# stage: tools-and-build-and-tier1
#- env: TARGET=x86_64-unknown-linux-gnu
# stage: tools-and-build-and-tier1
# install: true

# Tier 2 targets
- env: TARGET=aarch64-linux-android
stage: tier2
- env: TARGET=aarch64-unknown-linux-gnu
stage: tier2
- env: TARGET=aarch64-unknown-linux-musl
stage: tier2
stage: tools-and-build-and-tier1
#- env: TARGET=aarch64-unknown-linux-gnu
# stage: tier2
#- env: TARGET=aarch64-unknown-linux-musl
# stage: tier2
- env: TARGET=arm-linux-androideabi
stage: tier2
- env: TARGET=arm-unknown-linux-gnueabihf
stage: tier2
- env: TARGET=arm-unknown-linux-musleabihf
stage: tier2
- env: TARGET=asmjs-unknown-emscripten
stage: tier2
- env: TARGET=i686-unknown-linux-musl
stage: tier2
- env: TARGET=mips-unknown-linux-gnu
stage: tier2
- env: TARGET=mips-unknown-linux-musl
stage: tier2
- env: TARGET=mips64-unknown-linux-gnuabi64
stage: tier2
- env: TARGET=mips64el-unknown-linux-gnuabi64
stage: tier2
- env: TARGET=mipsel-unknown-linux-musl
stage: tier2
- env: TARGET=powerpc-unknown-linux-gnu
stage: tier2
- env: TARGET=powerpc64-unknown-linux-gnu
stage: tier2
- env: TARGET=powerpc64le-unknown-linux-gnu
stage: tier2
- env: TARGET=s390x-unknown-linux-gnu
stage: tier2
- env: TARGET=sparc64-unknown-linux-gnu
stage: tier2
- env: TARGET=wasm32-unknown-emscripten
stage: tier2
stage: tools-and-build-and-tier1
#- env: TARGET=arm-unknown-linux-gnueabihf
# stage: tier2
#- env: TARGET=arm-unknown-linux-musleabihf
# stage: tier2
#- env: TARGET=asmjs-unknown-emscripten
# stage: tier2
#- env: TARGET=i686-unknown-linux-musl
# stage: tier2
#- env: TARGET=mips-unknown-linux-gnu
# stage: tier2
#- env: TARGET=mips-unknown-linux-musl
# stage: tier2
#- env: TARGET=mips64-unknown-linux-gnuabi64
# stage: tier2
#- env: TARGET=mips64el-unknown-linux-gnuabi64
# stage: tier2
#- env: TARGET=mipsel-unknown-linux-musl
# stage: tier2
#- env: TARGET=powerpc-unknown-linux-gnu
# stage: tier2
#- env: TARGET=powerpc64-unknown-linux-gnu
# stage: tier2
#- env: TARGET=powerpc64le-unknown-linux-gnu
# stage: tier2
#- env: TARGET=s390x-unknown-linux-gnu
# stage: tier2
#- env: TARGET=sparc64-unknown-linux-gnu
# stage: tier2
#- env: TARGET=wasm32-unknown-emscripten
# stage: tier2
- env: TARGET=x86_64-linux-android
stage: tier2
- env: TARGET=x86_64-unknown-linux-gnux32 OPT="--release"
stage: tier2
- env: TARGET=x86_64-unknown-linux-musl
stage: tier2
- env: TARGET=wasm32-unknown-wasi
rust: nightly
stage: tier2
stage: tools-and-build-and-tier1
#- env: TARGET=x86_64-unknown-linux-gnux32 OPT="--release"
# stage: tier2
#- env: TARGET=x86_64-unknown-linux-musl
# stage: tier2
#- env: TARGET=wasm32-unknown-wasi
# rust: nightly
# stage: tier2

allow_failures:
# FIXME: android build bots time out irregularly
- env: TARGET=aarch64-linux-android
- env: TARGET=arm-linux-androideabi
# FIXME: https://github.com/rust-lang/libc/issues/1226
- env: TARGET=asmjs-unknown-emscripten
- env: TARGET=wasm32-unknown-emscripten
- name: "Semver Linux"
- name: "Semver MacOSX"
#- env: TARGET=asmjs-unknown-emscripten
#- env: TARGET=wasm32-unknown-emscripten
#- name: "Semver Linux"
#- name: "Semver MacOSX"

install: travis_retry rustup target add $TARGET

Expand Down

0 comments on commit e4ce8ac

Please sign in to comment.