Skip to content

Commit 9b1508d

Browse files
committed
Test SGX on nigtly travis build
1 parent 5c2e1d5 commit 9b1508d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.travis.yml

+4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ before_script:
1111
- |
1212
pip install 'travis-cargo<0.2' --user &&
1313
export PATH=$HOME/.local/bin:$PATH
14+
if [ "${TRAVIS_RUST_VERSION}" = "nightly" ]; then
15+
rustup target add x86_64-fortanix-unknown-sgx;
16+
fi
1417
1518
script:
1619
- cd core;
@@ -22,6 +25,7 @@ script:
2225
- travis-cargo test
2326
- travis-cargo --only stable test -- --features=deadlock_detection
2427
- travis-cargo --only beta test -- --features=deadlock_detection
28+
- travis-cargo --only nightly test -- --all --no-run --target x86_64-fortanix-unknown-sgx
2529
- travis-cargo --only nightly doc -- --all-features --no-deps -p parking_lot -p parking_lot_core -p lock_api
2630
- cd benchmark
2731
- travis-cargo build

0 commit comments

Comments
 (0)