forked from fortanix/rust-mbedtls
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (37 loc) · 908 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
branches:
only:
# This is where pull requests from "bors r+" are built.
- staging
# This is where pull requests from "bors try" are built.
- trying
# Not really necessary, just to get a green badge on “master”
- master
language: rust
os: linux
dist: focal
addons:
apt:
sources:
- sourceline: "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-11 main"
key_url: "https://apt.llvm.org/llvm-snapshot.gpg.key"
packages:
- clang-11
- cmake
- qemu-user
rust:
- stable
env:
jobs:
# Matrix build of 3 targets against Rust stable
- TARGET=x86_64-unknown-linux-gnu ZLIB_INSTALLED=true AES_NI_SUPPORT=true
- TARGET=aarch64-unknown-linux-musl
- TARGET=x86_64-fortanix-unknown-sgx
global:
- RUST_BACKTRACE=1
jobs:
include:
# Test additional Rust toolchains on x86_64
- rust: beta
- rust: nightly
script:
- ./ct.sh