forked from rust-lang/hashbrown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
30 lines (26 loc) · 813 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
29
30
language: rust
sudo: false
matrix:
include:
- rust: 1.29.0
- rust: stable
- rust: beta
- rust: nightly
- rust: nightly
env:
- FEATURES='nightly'
branches:
# Don't build these branches
except:
# Used by bors
- trying.tmp
- staging.tmp
script:
- cargo build --verbose --features "$FEATURES"
- cargo test --verbose --features "$FEATURES"
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then cargo bench --verbose --features "$FEATURES"; fi
- cargo doc --verbose --features "$FEATURES"
- cargo build --verbose --features "$FEATURES serde"
- cargo test --verbose --features "$FEATURES serde"
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then cargo bench --verbose --features "$FEATURES serde"; fi
- cargo doc --verbose --features "$FEATURES serde"