mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-05 20:30:57 +00:00
33 lines
930 B
YAML
33 lines
930 B
YAML
language: rust
|
|
|
|
rust:
|
|
- stable
|
|
- beta
|
|
- nightly
|
|
|
|
env:
|
|
- TEST_COMMAND=test FEATURES=''
|
|
|
|
matrix:
|
|
include:
|
|
# We use the 64-bit optimised curve backend by default, so also test with
|
|
# the 32-bit backend (this also exercises testing with `no_std`):
|
|
- rust: nightly
|
|
env: TEST_COMMAND=build FEATURES='--no-default-features --features=u32_backend'
|
|
# Test any nightly gated features on nightly:
|
|
- rust: nightly
|
|
env: TEST_COMMAND=test FEATURES='--features=nightly'
|
|
# Test serde support on stable, assuming that if it works there it'll work everywhere:
|
|
- rust: stable
|
|
env: TEST_COMMAND=test FEATURE='--features=serde'
|
|
# Test with the optional sha2 feature enabled:
|
|
- rust: stable
|
|
env: TEST_COMMAND=test FEATURE='--features=sha2'
|
|
|
|
script:
|
|
- cargo $TEST_COMMAND $FEATURES
|
|
|
|
notifications:
|
|
slack:
|
|
rooms:
|
|
- dalek-cryptography:Xxv9WotKYWdSoKlgKNqXiHoD#dalek-bots
|