From 59535e35cb21aa06ebe798d1764452bf4c72a5be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20F=C3=A4rnstrand?= Date: Tue, 19 Mar 2019 23:35:06 +0100 Subject: [PATCH] Test SGX on nigtly travis build --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index d8fa9cec..1db3535e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,6 +22,10 @@ script: - travis-cargo test - travis-cargo --only stable test -- --features=deadlock_detection - travis-cargo --only beta test -- --features=deadlock_detection +- if [ "${TRAVIS_RUST_VERSION}" = "nightly" ]; then + rustup target add x86_64-fortanix-unknown-sgx; + cargo test --target x86_64-fortanix-unknown-sgx --no-run; + fi - travis-cargo --only nightly doc -- --all-features --no-deps -p parking_lot -p parking_lot_core -p lock_api - cd benchmark - travis-cargo build