Skip to content

Commit e4ce8ac

Browse files
committed
WIP: run only relevant build jobs
1 parent 89a3d03 commit e4ce8ac

File tree

1 file changed

+170
-171
lines changed

1 file changed

+170
-171
lines changed

.travis.yml

Lines changed: 170 additions & 171 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ services: docker
66

77
stages:
88
- tools-and-build-and-tier1
9-
- tier2
109

1110
matrix:
1211
include:
@@ -34,189 +33,189 @@ matrix:
3433
# cargo fmt --all -- --check
3534
# fi
3635
stage: tools-and-build-and-tier1
37-
- name: "Semver Linux"
38-
install: travis_retry cargo +nightly install semverver
39-
script: sh ci/semver.sh
40-
stage: tools-and-build-and-tier1
41-
- name: "Semver MacOSX"
42-
install: travis_retry cargo +nightly install semverver
43-
script: sh ci/semver.sh
44-
os: osx
45-
osx_image: xcode10
46-
stage: tools-and-build-and-tier1
36+
#- name: "Semver Linux"
37+
# install: travis_retry cargo +nightly install semverver
38+
# script: sh ci/semver.sh
39+
# stage: tools-and-build-and-tier1
40+
#- name: "Semver MacOSX"
41+
# install: travis_retry cargo +nightly install semverver
42+
# script: sh ci/semver.sh
43+
# os: osx
44+
# osx_image: xcode10
45+
# stage: tools-and-build-and-tier1
4746

4847
# BUILD stable, beta, nightly
49-
- name: "Build Stable Rust"
50-
script: sh ci/build.sh
51-
stage: tools-and-build-and-tier1
52-
rust: stable
53-
install: true
54-
- name: "Build Beta Rust"
55-
script: sh ci/build.sh
56-
stage: tools-and-build-and-tier1
57-
rust: beta
58-
install: true
59-
- name: "Build Nightly Rust"
60-
script: sh ci/build.sh
61-
stage: tools-and-build-and-tier1
62-
rust: nightly
63-
install:
64-
- travis_retry rustup component add rust-src
65-
- travis_retry cargo install xargo
66-
- name: "Build Stable Rust"
67-
script: sh ci/build.sh
68-
stage: tools-and-build-and-tier1
69-
rust: stable
70-
os: osx
71-
osx_image: xcode10
72-
install: true
73-
- name: "Build Beta Rust"
74-
script: sh ci/build.sh
75-
stage: tools-and-build-and-tier1
76-
rust: beta
77-
os: osx
78-
osx_image: xcode10
79-
install: true
80-
- name: "Build Nightly Rust"
81-
script: sh ci/build.sh
82-
stage: tools-and-build-and-tier1
83-
rust: nightly
84-
os: osx
85-
osx_image: xcode10
86-
install: true
87-
- name: "Build Stable Rust 1.13.0"
88-
script: sh ci/build.sh
89-
stage: tools-and-build-and-tier1
90-
rust: 1.13.0
91-
install: true
92-
- name: "Build Stable Rust 1.19.0"
93-
script: sh ci/build.sh
94-
stage: tools-and-build-and-tier1
95-
rust: 1.19.0
96-
install: true
97-
- name: "Build Stable Rust 1.24.0"
98-
script: sh ci/build.sh
99-
stage: tools-and-build-and-tier1
100-
rust: 1.24.0
101-
install: true
102-
- name: "Build Stable Rust 1.25.0"
103-
script: sh ci/build.sh
104-
stage: tools-and-build-and-tier1
105-
rust: 1.25.0
106-
install: true
107-
- name: "Build Stable Rust 1.30.0"
108-
script: sh ci/build.sh
109-
stage: tools-and-build-and-tier1
110-
rust: 1.30.0
111-
install: true
112-
- name: "Build Stable Rust 1.13.0"
113-
script: sh ci/build.sh
114-
stage: tools-and-build-and-tier1
115-
rust: 1.13.0
116-
os: osx
117-
osx_image: xcode10
118-
install: true
119-
- name: "Build Stable Rust 1.19.0"
120-
script: sh ci/build.sh
121-
stage: tools-and-build-and-tier1
122-
rust: 1.19.0
123-
os: osx
124-
osx_image: xcode10
125-
install: true
126-
- name: "Build Stable Rust 1.24.0"
127-
script: sh ci/build.sh
128-
stage: tools-and-build-and-tier1
129-
rust: 1.24.0
130-
os: osx
131-
osx_image: xcode10
132-
install: true
133-
- name: "Build Stable Rust 1.25.0"
134-
script: sh ci/build.sh
135-
stage: tools-and-build-and-tier1
136-
rust: 1.25.0
137-
os: osx
138-
osx_image: xcode10
139-
install: true
140-
- name: "Build Stable Rust 1.30.0"
141-
script: sh ci/build.sh
142-
stage: tools-and-build-and-tier1
143-
rust: 1.30.0
144-
os: osx
145-
osx_image: xcode10
146-
install: true
147-
- env: TARGET=i686-apple-darwin
148-
os: osx
149-
osx_image: xcode10
150-
stage: tools-and-build-and-tier1
151-
- env: TARGET=i686-unknown-linux-gnu
152-
stage: tools-and-build-and-tier1
153-
- env: TARGET=x86_64-apple-darwin
154-
os: osx
155-
osx_image: xcode10
156-
install: true
157-
stage: tools-and-build-and-tier1
158-
- env: TARGET=x86_64-unknown-linux-gnu
159-
stage: tools-and-build-and-tier1
160-
install: true
48+
#- name: "Build Stable Rust"
49+
# script: sh ci/build.sh
50+
# stage: tools-and-build-and-tier1
51+
# rust: stable
52+
# install: true
53+
#- name: "Build Beta Rust"
54+
# script: sh ci/build.sh
55+
# stage: tools-and-build-and-tier1
56+
# rust: beta
57+
# install: true
58+
#- name: "Build Nightly Rust"
59+
# script: sh ci/build.sh
60+
# stage: tools-and-build-and-tier1
61+
# rust: nightly
62+
# install:
63+
# - travis_retry rustup component add rust-src
64+
# - travis_retry cargo install xargo
65+
#- name: "Build Stable Rust"
66+
# script: sh ci/build.sh
67+
# stage: tools-and-build-and-tier1
68+
# rust: stable
69+
# os: osx
70+
# osx_image: xcode10
71+
# install: true
72+
#- name: "Build Beta Rust"
73+
# script: sh ci/build.sh
74+
# stage: tools-and-build-and-tier1
75+
# rust: beta
76+
# os: osx
77+
# osx_image: xcode10
78+
# install: true
79+
#- name: "Build Nightly Rust"
80+
# script: sh ci/build.sh
81+
# stage: tools-and-build-and-tier1
82+
# rust: nightly
83+
# os: osx
84+
# osx_image: xcode10
85+
# install: true
86+
#- name: "Build Stable Rust 1.13.0"
87+
# script: sh ci/build.sh
88+
# stage: tools-and-build-and-tier1
89+
# rust: 1.13.0
90+
# install: true
91+
#- name: "Build Stable Rust 1.19.0"
92+
# script: sh ci/build.sh
93+
# stage: tools-and-build-and-tier1
94+
# rust: 1.19.0
95+
# install: true
96+
#- name: "Build Stable Rust 1.24.0"
97+
# script: sh ci/build.sh
98+
# stage: tools-and-build-and-tier1
99+
# rust: 1.24.0
100+
# install: true
101+
#- name: "Build Stable Rust 1.25.0"
102+
# script: sh ci/build.sh
103+
# stage: tools-and-build-and-tier1
104+
# rust: 1.25.0
105+
# install: true
106+
#- name: "Build Stable Rust 1.30.0"
107+
# script: sh ci/build.sh
108+
# stage: tools-and-build-and-tier1
109+
# rust: 1.30.0
110+
# install: true
111+
#- name: "Build Stable Rust 1.13.0"
112+
# script: sh ci/build.sh
113+
# stage: tools-and-build-and-tier1
114+
# rust: 1.13.0
115+
# os: osx
116+
# osx_image: xcode10
117+
# install: true
118+
#- name: "Build Stable Rust 1.19.0"
119+
# script: sh ci/build.sh
120+
# stage: tools-and-build-and-tier1
121+
# rust: 1.19.0
122+
# os: osx
123+
# osx_image: xcode10
124+
# install: true
125+
#- name: "Build Stable Rust 1.24.0"
126+
# script: sh ci/build.sh
127+
# stage: tools-and-build-and-tier1
128+
# rust: 1.24.0
129+
# os: osx
130+
# osx_image: xcode10
131+
# install: true
132+
#- name: "Build Stable Rust 1.25.0"
133+
# script: sh ci/build.sh
134+
# stage: tools-and-build-and-tier1
135+
# rust: 1.25.0
136+
# os: osx
137+
# osx_image: xcode10
138+
# install: true
139+
#- name: "Build Stable Rust 1.30.0"
140+
# script: sh ci/build.sh
141+
# stage: tools-and-build-and-tier1
142+
# rust: 1.30.0
143+
# os: osx
144+
# osx_image: xcode10
145+
# install: true
146+
#- env: TARGET=i686-apple-darwin
147+
# os: osx
148+
# osx_image: xcode10
149+
# stage: tools-and-build-and-tier1
150+
#- env: TARGET=i686-unknown-linux-gnu
151+
# stage: tools-and-build-and-tier1
152+
#- env: TARGET=x86_64-apple-darwin
153+
# os: osx
154+
# osx_image: xcode10
155+
# install: true
156+
# stage: tools-and-build-and-tier1
157+
#- env: TARGET=x86_64-unknown-linux-gnu
158+
# stage: tools-and-build-and-tier1
159+
# install: true
161160

162161
# Tier 2 targets
163162
- env: TARGET=aarch64-linux-android
164-
stage: tier2
165-
- env: TARGET=aarch64-unknown-linux-gnu
166-
stage: tier2
167-
- env: TARGET=aarch64-unknown-linux-musl
168-
stage: tier2
163+
stage: tools-and-build-and-tier1
164+
#- env: TARGET=aarch64-unknown-linux-gnu
165+
# stage: tier2
166+
#- env: TARGET=aarch64-unknown-linux-musl
167+
# stage: tier2
169168
- env: TARGET=arm-linux-androideabi
170-
stage: tier2
171-
- env: TARGET=arm-unknown-linux-gnueabihf
172-
stage: tier2
173-
- env: TARGET=arm-unknown-linux-musleabihf
174-
stage: tier2
175-
- env: TARGET=asmjs-unknown-emscripten
176-
stage: tier2
177-
- env: TARGET=i686-unknown-linux-musl
178-
stage: tier2
179-
- env: TARGET=mips-unknown-linux-gnu
180-
stage: tier2
181-
- env: TARGET=mips-unknown-linux-musl
182-
stage: tier2
183-
- env: TARGET=mips64-unknown-linux-gnuabi64
184-
stage: tier2
185-
- env: TARGET=mips64el-unknown-linux-gnuabi64
186-
stage: tier2
187-
- env: TARGET=mipsel-unknown-linux-musl
188-
stage: tier2
189-
- env: TARGET=powerpc-unknown-linux-gnu
190-
stage: tier2
191-
- env: TARGET=powerpc64-unknown-linux-gnu
192-
stage: tier2
193-
- env: TARGET=powerpc64le-unknown-linux-gnu
194-
stage: tier2
195-
- env: TARGET=s390x-unknown-linux-gnu
196-
stage: tier2
197-
- env: TARGET=sparc64-unknown-linux-gnu
198-
stage: tier2
199-
- env: TARGET=wasm32-unknown-emscripten
200-
stage: tier2
169+
stage: tools-and-build-and-tier1
170+
#- env: TARGET=arm-unknown-linux-gnueabihf
171+
# stage: tier2
172+
#- env: TARGET=arm-unknown-linux-musleabihf
173+
# stage: tier2
174+
#- env: TARGET=asmjs-unknown-emscripten
175+
# stage: tier2
176+
#- env: TARGET=i686-unknown-linux-musl
177+
# stage: tier2
178+
#- env: TARGET=mips-unknown-linux-gnu
179+
# stage: tier2
180+
#- env: TARGET=mips-unknown-linux-musl
181+
# stage: tier2
182+
#- env: TARGET=mips64-unknown-linux-gnuabi64
183+
# stage: tier2
184+
#- env: TARGET=mips64el-unknown-linux-gnuabi64
185+
# stage: tier2
186+
#- env: TARGET=mipsel-unknown-linux-musl
187+
# stage: tier2
188+
#- env: TARGET=powerpc-unknown-linux-gnu
189+
# stage: tier2
190+
#- env: TARGET=powerpc64-unknown-linux-gnu
191+
# stage: tier2
192+
#- env: TARGET=powerpc64le-unknown-linux-gnu
193+
# stage: tier2
194+
#- env: TARGET=s390x-unknown-linux-gnu
195+
# stage: tier2
196+
#- env: TARGET=sparc64-unknown-linux-gnu
197+
# stage: tier2
198+
#- env: TARGET=wasm32-unknown-emscripten
199+
# stage: tier2
201200
- env: TARGET=x86_64-linux-android
202-
stage: tier2
203-
- env: TARGET=x86_64-unknown-linux-gnux32 OPT="--release"
204-
stage: tier2
205-
- env: TARGET=x86_64-unknown-linux-musl
206-
stage: tier2
207-
- env: TARGET=wasm32-unknown-wasi
208-
rust: nightly
209-
stage: tier2
201+
stage: tools-and-build-and-tier1
202+
#- env: TARGET=x86_64-unknown-linux-gnux32 OPT="--release"
203+
# stage: tier2
204+
#- env: TARGET=x86_64-unknown-linux-musl
205+
# stage: tier2
206+
#- env: TARGET=wasm32-unknown-wasi
207+
# rust: nightly
208+
# stage: tier2
210209

211210
allow_failures:
212211
# FIXME: android build bots time out irregularly
213212
- env: TARGET=aarch64-linux-android
214213
- env: TARGET=arm-linux-androideabi
215214
# FIXME: https://github.com/rust-lang/libc/issues/1226
216-
- env: TARGET=asmjs-unknown-emscripten
217-
- env: TARGET=wasm32-unknown-emscripten
218-
- name: "Semver Linux"
219-
- name: "Semver MacOSX"
215+
#- env: TARGET=asmjs-unknown-emscripten
216+
#- env: TARGET=wasm32-unknown-emscripten
217+
#- name: "Semver Linux"
218+
#- name: "Semver MacOSX"
220219

221220
install: travis_retry rustup target add $TARGET
222221

0 commit comments

Comments
 (0)