forked from rust-bitcoin/rust-bip39
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
28 lines (25 loc) · 795 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
language: rust
cache: cargo
matrix:
include:
- rust: stable
env: BENCHES=false
- rust: beta
env: BENCHES=false
- rust: nightly
env: BENCHES=true
- rust: 1.29.0
env: BENCHES=false
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y binutils-dev libunwind8-dev
script:
- cargo build --verbose
- cargo test --verbose
- cargo build --verbose --no-default-features --features all-languages
- cargo test --verbose --no-default-features --features all-languages
- cargo build --verbose --features rand,all-languages
- cargo test --verbose --features rand,all-languages
# benchmarks
- if ${BENCHES}; then cargo bench --verbose --features rand; fi
- if ${BENCHES}; then cargo bench --verbose --features rand,japanese; fi