2014-08-27 17:19:10 +00:00
language : rust
2018-12-07 19:53:44 +00:00
cache : cargo
2018-03-21 21:31:39 +00:00
rust :
- stable
- beta
- nightly
2019-01-30 23:44:26 +00:00
- 1.22 .0
2018-12-07 19:53:44 +00:00
os :
- linux
- windows
2015-07-28 17:38:01 +00:00
2018-12-07 21:37:21 +00:00
matrix :
2019-02-11 18:33:17 +00:00
# rand 0.6 actually needs Rust 1.22, which leads to build failures on Rust 1.14 on Windows.
# This is a problem, because
# - we insist on rust 1.22 since #92
# - but "rand" is only an optional dependency.
2018-12-07 21:37:21 +00:00
exclude :
2019-01-30 23:44:26 +00:00
- rust : 1.22 .0
2018-12-07 21:37:21 +00:00
os : windows
2015-07-28 17:38:01 +00:00
script :
2018-03-21 21:31:39 +00:00
- cargo build --verbose --features=fuzztarget
- cargo build --verbose --features=rand
- cargo test --verbose --features=rand
2018-07-25 13:57:36 +00:00
- cargo test --verbose --features="rand serde"
2019-06-11 20:32:54 +00:00
- cargo test --verbose --features="rand serde recovery endomorphism"
2019-02-18 12:42:06 +00:00
- cargo build --verbose --no-default-features
- cargo build --verbose --no-default-features --features="serde"
- cargo build --verbose --no-default-features --features="rand"
2019-06-11 20:32:54 +00:00
- cargo build --verbose --no-default-features --features="rand serde recovery endomorphism"
2019-05-21 22:16:11 +00:00
- cargo build --verbose --no-default-features --features="fuzztarget recovery"
2018-03-21 21:31:39 +00:00
- cargo build --verbose
- cargo test --verbose
- cargo build --release
- cargo test --release
- cargo bench
- if [ "$(rustup show | grep default | grep stable)" != "" ]; then cargo doc; fi
2019-01-24 18:46:43 +00:00
- if [ "$(rustup show | grep default | grep stable)" != "" -a "$TRAVIS_OS_NAME" = "linux" ]; then cargo install --force cargo-web && cargo web build --target=asmjs-unknown-emscripten && cargo web test --target=asmjs-unknown-emscripten --nodejs; fi