|
1 |
| -language: rust |
2 |
| -rust: nightly |
3 |
| -sudo: required |
4 |
| -dist: xenial |
5 |
| -services: docker |
6 |
| - |
7 |
| -stages: |
8 |
| - - tools-and-build-and-tier1 |
9 |
| - - tier2 |
10 |
| - |
11 |
| -matrix: |
12 |
| - include: |
13 |
| - # TOOLS |
14 |
| - - name: "Documentation" |
15 |
| - env: TARGET=x86_64-unknown-linux-gnu |
16 |
| - script: sh ci/dox.sh |
17 |
| - install: |
18 |
| - - travis_retry rustup component add rust-src |
19 |
| - - travis_retry cargo install xargo |
20 |
| - stage: tools-and-build-and-tier1 |
21 |
| - - name: "Shellcheck" |
22 |
| - install: true |
23 |
| - script: |
24 |
| - - shellcheck --version |
25 |
| - # FIXME: https://github.com/koalaman/shellcheck/issues/1591 |
26 |
| - - shellcheck -e SC2103 ci/*.sh |
27 |
| - stage: tools-and-build-and-tier1 |
28 |
| - - name: "Style" |
29 |
| - install: true |
30 |
| - script: |
31 |
| - - rustc ci/style.rs && ./style src |
32 |
| - # Disabled due to rust-lang/rustfmt#3341 |
33 |
| - #- | |
34 |
| - # if rustup component add rustfmt-preview ; then |
35 |
| - # cargo fmt --all -- --check |
36 |
| - # fi |
37 |
| - stage: tools-and-build-and-tier1 |
38 |
| - - name: "Semver Linux" |
39 |
| - install: travis_retry cargo +nightly install semverver |
40 |
| - script: sh ci/semver.sh |
41 |
| - stage: tools-and-build-and-tier1 |
42 |
| - - name: "Semver MacOSX" |
43 |
| - install: travis_retry cargo +nightly install semverver |
44 |
| - script: sh ci/semver.sh |
45 |
| - os: osx |
46 |
| - osx_image: xcode10 |
47 |
| - stage: tools-and-build-and-tier1 |
48 |
| - |
49 |
| - # BUILD stable, beta, nightly |
50 |
| - - name: "Build Stable Rust" |
51 |
| - script: sh ci/build.sh |
52 |
| - stage: tools-and-build-and-tier1 |
53 |
| - rust: stable |
54 |
| - install: true |
55 |
| - - name: "Build Beta Rust" |
56 |
| - script: sh ci/build.sh |
57 |
| - stage: tools-and-build-and-tier1 |
58 |
| - rust: beta |
59 |
| - install: true |
60 |
| - - name: "Build Nightly Rust" |
61 |
| - script: sh ci/build.sh |
62 |
| - stage: tools-and-build-and-tier1 |
63 |
| - rust: nightly |
64 |
| - install: |
65 |
| - - travis_retry rustup component add rust-src |
66 |
| - - travis_retry cargo install xargo |
67 |
| - - name: "Build Stable Rust" |
68 |
| - script: sh ci/build.sh |
69 |
| - stage: tools-and-build-and-tier1 |
70 |
| - rust: stable |
71 |
| - os: osx |
72 |
| - osx_image: xcode10 |
73 |
| - install: true |
74 |
| - - name: "Build Beta Rust" |
75 |
| - script: sh ci/build.sh |
76 |
| - stage: tools-and-build-and-tier1 |
77 |
| - rust: beta |
78 |
| - os: osx |
79 |
| - osx_image: xcode10 |
80 |
| - install: true |
81 |
| - - name: "Build Nightly Rust" |
82 |
| - script: sh ci/build.sh |
83 |
| - stage: tools-and-build-and-tier1 |
84 |
| - rust: nightly |
85 |
| - os: osx |
86 |
| - osx_image: xcode10 |
87 |
| - install: true |
88 |
| - - name: "Build Stable Rust 1.13.0" |
89 |
| - script: sh ci/build.sh |
90 |
| - stage: tools-and-build-and-tier1 |
91 |
| - rust: 1.13.0 |
92 |
| - install: true |
93 |
| - - name: "Build Stable Rust 1.19.0" |
94 |
| - script: sh ci/build.sh |
95 |
| - stage: tools-and-build-and-tier1 |
96 |
| - rust: 1.19.0 |
97 |
| - install: true |
98 |
| - - name: "Build Stable Rust 1.24.0" |
99 |
| - script: sh ci/build.sh |
100 |
| - stage: tools-and-build-and-tier1 |
101 |
| - rust: 1.24.0 |
102 |
| - install: true |
103 |
| - - name: "Build Stable Rust 1.25.0" |
104 |
| - script: sh ci/build.sh |
105 |
| - stage: tools-and-build-and-tier1 |
106 |
| - rust: 1.25.0 |
107 |
| - install: true |
108 |
| - - name: "Build Stable Rust 1.30.0" |
109 |
| - script: sh ci/build.sh |
110 |
| - stage: tools-and-build-and-tier1 |
111 |
| - rust: 1.30.0 |
112 |
| - install: true |
113 |
| - - name: "Build Stable Rust 1.13.0" |
114 |
| - script: sh ci/build.sh |
115 |
| - stage: tools-and-build-and-tier1 |
116 |
| - rust: 1.13.0 |
117 |
| - os: osx |
118 |
| - osx_image: xcode10 |
119 |
| - install: true |
120 |
| - - name: "Build Stable Rust 1.19.0" |
121 |
| - script: sh ci/build.sh |
122 |
| - stage: tools-and-build-and-tier1 |
123 |
| - rust: 1.19.0 |
124 |
| - os: osx |
125 |
| - osx_image: xcode10 |
126 |
| - install: true |
127 |
| - - name: "Build Stable Rust 1.24.0" |
128 |
| - script: sh ci/build.sh |
129 |
| - stage: tools-and-build-and-tier1 |
130 |
| - rust: 1.24.0 |
131 |
| - os: osx |
132 |
| - osx_image: xcode10 |
133 |
| - install: true |
134 |
| - - name: "Build Stable Rust 1.25.0" |
135 |
| - script: sh ci/build.sh |
136 |
| - stage: tools-and-build-and-tier1 |
137 |
| - rust: 1.25.0 |
138 |
| - os: osx |
139 |
| - osx_image: xcode10 |
140 |
| - install: true |
141 |
| - - name: "Build Stable Rust 1.30.0" |
142 |
| - script: sh ci/build.sh |
143 |
| - stage: tools-and-build-and-tier1 |
144 |
| - rust: 1.30.0 |
145 |
| - os: osx |
146 |
| - osx_image: xcode10 |
147 |
| - install: true |
148 |
| - - env: TARGET=i686-apple-darwin |
149 |
| - os: osx |
150 |
| - osx_image: xcode10 |
151 |
| - stage: tools-and-build-and-tier1 |
152 |
| - - env: TARGET=i686-unknown-linux-gnu |
153 |
| - stage: tools-and-build-and-tier1 |
154 |
| - - env: TARGET=x86_64-apple-darwin |
155 |
| - os: osx |
156 |
| - osx_image: xcode10 |
157 |
| - install: true |
158 |
| - stage: tools-and-build-and-tier1 |
159 |
| - - env: TARGET=x86_64-unknown-linux-gnu |
160 |
| - stage: tools-and-build-and-tier1 |
161 |
| - install: true |
162 |
| - |
163 |
| - # Tier 2 targets |
164 |
| - - env: TARGET=aarch64-linux-android |
165 |
| - stage: tier2 |
166 |
| - - env: TARGET=aarch64-unknown-linux-gnu |
167 |
| - stage: tier2 |
168 |
| - - env: TARGET=aarch64-unknown-linux-musl |
169 |
| - stage: tier2 |
170 |
| - - env: TARGET=arm-linux-androideabi |
171 |
| - stage: tier2 |
172 |
| - - env: TARGET=arm-unknown-linux-gnueabihf |
173 |
| - stage: tier2 |
174 |
| - - env: TARGET=arm-unknown-linux-musleabihf |
175 |
| - stage: tier2 |
176 |
| - - env: TARGET=asmjs-unknown-emscripten |
177 |
| - stage: tier2 |
178 |
| - - env: TARGET=i686-linux-android |
179 |
| - stage: tier2 |
180 |
| - - env: TARGET=i686-unknown-linux-musl |
181 |
| - stage: tier2 |
182 |
| - - env: TARGET=mips-unknown-linux-gnu |
183 |
| - stage: tier2 |
184 |
| - - env: TARGET=mips-unknown-linux-musl |
185 |
| - stage: tier2 |
186 |
| - - env: TARGET=mips64-unknown-linux-gnuabi64 |
187 |
| - stage: tier2 |
188 |
| - - env: TARGET=mips64el-unknown-linux-gnuabi64 |
189 |
| - stage: tier2 |
190 |
| - - env: TARGET=mipsel-unknown-linux-musl |
191 |
| - stage: tier2 |
192 |
| - - env: TARGET=powerpc-unknown-linux-gnu |
193 |
| - stage: tier2 |
194 |
| - - env: TARGET=powerpc64-unknown-linux-gnu |
195 |
| - stage: tier2 |
196 |
| - - env: TARGET=powerpc64le-unknown-linux-gnu |
197 |
| - stage: tier2 |
198 |
| - - env: TARGET=s390x-unknown-linux-gnu |
199 |
| - stage: tier2 |
200 |
| - - env: TARGET=sparc64-unknown-linux-gnu |
201 |
| - stage: tier2 |
202 |
| - - env: TARGET=wasm32-unknown-emscripten |
203 |
| - stage: tier2 |
204 |
| - - env: TARGET=x86_64-linux-android |
205 |
| - stage: tier2 |
206 |
| - - env: TARGET=x86_64-unknown-linux-gnux32 OPT="--release" |
207 |
| - stage: tier2 |
208 |
| - - env: TARGET=x86_64-unknown-linux-musl |
209 |
| - stage: tier2 |
210 |
| - - env: TARGET=wasm32-wasi |
211 |
| - rust: nightly |
212 |
| - stage: tier2 |
213 |
| - - name: "Nintendo Switch - build libcore only" |
214 |
| - rust: nightly |
215 |
| - stage: tier2 |
216 |
| - install: |
217 |
| - - rustup component add rust-src |
218 |
| - - (test -x $HOME/.cargo/bin/cargo-xbuild || cargo install cargo-xbuild) |
219 |
| - script: |
220 |
| - - mkdir -p target |
221 |
| - - cd target |
222 |
| - - wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb |
223 |
| - - sudo dpkg -i devkitpro-pacman.deb |
224 |
| - - sudo dkp-pacman -Sy |
225 |
| - - sudo dkp-pacman -Syu |
226 |
| - - sudo dkp-pacman -S -v --noconfirm switch-dev devkitA64 |
227 |
| - - export PATH="$PATH:/opt/devkitpro/devkitA64/bin" |
228 |
| - - export PATH="$PATH:/opt/devkitpro/tools/bin" |
229 |
| - - cd .. |
230 |
| - # Pull the target spec up into the current directory and then build |
231 |
| - - mv ci/switch.json switch.json |
232 |
| - - cargo xbuild --target switch.json |
233 |
| - |
234 |
| - |
235 |
| - allow_failures: |
236 |
| - - name: "Semver Linux" |
237 |
| - - name: "Semver MacOSX" |
238 |
| - |
239 |
| -install: travis_retry rustup target add $TARGET |
240 |
| - |
241 |
| -script: |
242 |
| - - cargo generate-lockfile --manifest-path libc-test/Cargo.toml |
243 |
| - - if [[ $TRAVIS_OS_NAME = "linux" ]] && [[ $BUILD_ONLY != "1" ]]; then |
244 |
| - sh ci/run-docker.sh $TARGET; |
245 |
| - else |
246 |
| - sh ci/run.sh $TARGET; |
247 |
| - fi |
248 |
| -env: |
249 |
| - global: |
250 |
| - secure: "e2/3QjgRN9atOuSHp22TrYG7QVKcYUWY48Hi9b60w+r1+BhPkTseIJLte7WefRhdXtqpjjUJTooKDhnurFOeHaCT+nmBgiv+FPU893sBl4bhesY4m0vgUJVbNZcs6lTImYekWVb+aqjGdgV/XAgCw7c3kPmrZV0MzGDWL64Xaps=" |
251 |
| - |
252 |
| -notifications: |
253 |
| - email: |
254 |
| - on_success: never |
0 commit comments