Skip to content

Commit 4d89361

Browse files
committed
WIP: only run CI for android targets
1 parent a2aaf37 commit 4d89361

File tree

1 file changed

+3
-180
lines changed

1 file changed

+3
-180
lines changed

.travis.yml

Lines changed: 3 additions & 180 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ dist: xenial
55
services: docker
66

77
stages:
8-
- tools-and-build-and-tier1
98
- tier2
109

1110
matrix:
@@ -17,13 +16,13 @@ matrix:
1716
install:
1817
- travis_retry rustup component add rust-src
1918
- travis_retry cargo install xargo
20-
stage: tools-and-build-and-tier1
19+
stage: tier2
2120
- name: "Shellcheck"
2221
install: true
2322
script:
2423
- shellcheck --version
2524
- shellcheck ci/*.sh
26-
stage: tools-and-build-and-tier1
25+
stage: tier2
2726
- name: "Style"
2827
install: true
2928
script:
@@ -33,190 +32,14 @@ matrix:
3332
# if rustup component add rustfmt-preview ; then
3433
# cargo fmt --all -- --check
3534
# fi
36-
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
47-
48-
# 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
35+
stage: tier2
16136

162-
# Tier 2 targets
16337
- env: TARGET=aarch64-linux-android
16438
stage: tier2
165-
- env: TARGET=aarch64-unknown-linux-gnu
166-
stage: tier2
167-
- env: TARGET=aarch64-unknown-linux-musl
168-
stage: tier2
16939
- env: TARGET=arm-linux-androideabi
17040
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
20141
- env: TARGET=x86_64-linux-android
20242
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-wasi
208-
rust: nightly
209-
stage: tier2
210-
211-
allow_failures:
212-
# FIXME: android build bots time out irregularly
213-
- env: TARGET=aarch64-linux-android
214-
- env: TARGET=arm-linux-androideabi
215-
# 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"
22043

22144
install: travis_retry rustup target add $TARGET
22245

0 commit comments

Comments
 (0)