From 4f319873d088b49f008df6eff8b30a680d348caf Mon Sep 17 00:00:00 2001 From: Isis Lovecruft Date: Mon, 13 Mar 2017 23:56:44 +0000 Subject: [PATCH] Add a .travis.yml file. --- .travis.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..b8031d0 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,22 @@ +language: rust + +rust: + - stable + - beta + - nightly + +env: + - TEST_COMMAND=test + - TEST_COMMAND=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: + - rust: stable + - rust: beta + +script: + - cargo $TEST_COMMAND --features "yolocrypto"