From 8266a02c4dba0d9d580784545f591896b3a72951 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..1d559c69 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,6 +23,10 @@ script: - travis-cargo --only stable test -- --features=deadlock_detection - travis-cargo --only beta test -- --features=deadlock_detection - travis-cargo --only nightly doc -- --all-features --no-deps -p parking_lot -p parking_lot_core -p lock_api +- if [ "${TRAVIS_RUST_VERSION}" = "nightly" ]; then + rustup target add x86_64-fortanix-unknown-sgx --toolchain nightly + fi +- travis-cargo --only nightly test --target x86_64-fortanix-unknown-sgx - cd benchmark - travis-cargo build - cargo run --release --bin mutex -- 2 1 0 1 2