Test radix_51, but exclude bench and radix_51 from stable/beta builds.

This commit is contained in:
Henry de Valence 2017-03-13 21:59:42 -07:00
parent 6991b4264b
commit d0980b6c8a

View file

@ -7,18 +7,24 @@ rust:
env:
- TEST_COMMAND=test FEATURES='yolocrypto'
- TEST_COMMAND=test FEATURES='yolocrypto radix_51'
- TEST_COMMAND=bench FEATURES='yolocrypto bench'
matrix:
# We can probably remove this, as we reasonably expect dalek to work on
# stable and beta, but currently we require "test" feature in order to
# run benchmarks, which causes dalek not to build on stable. See
# https://github.com/isislovecruft/curve25519-dalek/pull/38#issuecomment-286027562
allow_failures:
exclude:
# We can probably remove this, as we reasonably expect dalek to work on
# stable and beta, but currently we require "test" feature in order to
# run benchmarks, which causes dalek not to build on stable. See
# https://github.com/isislovecruft/curve25519-dalek/pull/38#issuecomment-286027562
- rust: stable
env: TEST_COMMAND=bench FEATURES='yolocrypto bench'
- rust: beta
env: TEST_COMMAND=bench FEATURES='yolocrypto bench'
# radix_51 requires nightly for u128
- rust: stable
env: TEST_COMMAND=test FEATURES='yolocrypto radix_51'
- rust: beta
env: TEST_COMMAND=test FEATURES='yolocrypto radix_51'
script:
- cargo $TEST_COMMAND --features="$FEATURES"