From d0980b6c8a8abca81cbfe04793b88055a9fb00ff Mon Sep 17 00:00:00 2001 From: Henry de Valence Date: Mon, 13 Mar 2017 21:59:42 -0700 Subject: [PATCH] Test radix_51, but exclude bench and radix_51 from stable/beta builds. --- .travis.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index b2b782c..082ae3b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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"