Skip to content
This repository has been archived by the owner on May 3, 2021. It is now read-only.

Do not run tests with feature flags in virtual workspace #52

Merged
merged 1 commit into from
Dec 27, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ addons:
env:
- RUST_BACKTRACE=full

script:
script:
- cargo build --all --verbose
- cargo test --all --verbose
- cargo test --all --verbose --all-features
# Run test with feature flags in subdir as cargo does not support feature
# flags in virtual workspace
- cd libsignal-protocol
- cargo test --all --verbose --no-default-features --features="crypto-openssl"
- cargo test --all --verbose --no-default-features --features="crypto-native"
- cd ..
- cargo doc --all --verbose
# Check that the (non-blacklisted) examples and tests don't have memory bugs
- python3 ./scripts/valgrind.py
Expand Down