forked from fortanix/rust-sgx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (31 loc) · 1.06 KB
/
.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
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
dist: xenial
addons:
apt:
sources:
- sourceline: 'deb https://download.01.org/intel-sgx/sgx_repo/ubuntu xenial main'
key_url: 'https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key'
packages:
- protobuf-compiler
- libsgx-enclave-common=2.4.100.48163-xenial1
- libsgx-dcap-ql=1.0.101.48192-xenial1
- libsgx-dcap-ql-dev=1.0.101.48192-xenial1
rust:
- nightly
env:
- RUST_BACKTRACE=1
before_script:
- rustup target add x86_64-fortanix-unknown-sgx
script:
- cargo test --verbose --all
- cargo test --verbose -p sgx-isa --features sgxstd -Z package-features --target x86_64-fortanix-unknown-sgx --no-run
- cargo test --verbose -p sgxs-tools --features pe2sgxs --bin isgx-pe2sgx -Z package-features
- cargo test --verbose -p dcap-ql --features link -Z package-features