Skip to content

Commit 0eeea4e

Browse files
committed
ci: fix Travis CI
1 parent fc8226e commit 0eeea4e

File tree

1 file changed

+18
-9
lines changed

1 file changed

+18
-9
lines changed

.travis.yml

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ branches:
66
- trying
77
# Not really necessary, just to get a green badge on “master”
88
- master
9-
- v0.9
109
language: rust
1110
os: linux
1211
dist: focal
@@ -19,20 +18,30 @@ addons:
1918
- clang-11
2019
- cmake
2120
- qemu-user
21+
before_script:
22+
- printenv
23+
- whereis clang && clang --version
24+
# remove clang-16 path from PATH
25+
- export PATH=$(echo $PATH | sed -e 's|:/usr/local/clang-16.0.0/bin||')
26+
# setup clang-11 as default clang
27+
- sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-11 100
28+
- whereis clang && clang --version
2229
rust:
2330
- stable
2431
env:
25-
jobs:
26-
# Matrix build of 3 targets against Rust stable
27-
- TARGET=x86_64-unknown-linux-gnu ZLIB_INSTALLED=true AES_NI_SUPPORT=true
28-
- TARGET=aarch64-unknown-linux-musl
29-
- TARGET=x86_64-fortanix-unknown-sgx
3032
global:
3133
- RUST_BACKTRACE=1
3234
jobs:
3335
include:
34-
# Test additional Rust toolchains on x86_64
35-
- rust: beta
36-
- rust: nightly
36+
- env: TARGET=x86_64-fortanix-unknown-sgx
37+
rust: stable
38+
- env: TARGET=aarch64-unknown-linux-musl
39+
rust: stable
40+
- env: TARGET=x86_64-unknown-linux-gnu ZLIB_INSTALLED=true AES_NI_SUPPORT=true
41+
rust: nightly
42+
- env: TARGET=x86_64-unknown-linux-gnu ZLIB_INSTALLED=true AES_NI_SUPPORT=true
43+
rust: beta
44+
- env: TARGET=x86_64-unknown-linux-gnu ZLIB_INSTALLED=true AES_NI_SUPPORT=true
45+
rust: stable
3746
script:
3847
- ./ct.sh

0 commit comments

Comments
 (0)