forked from rust-itertools/itertools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (37 loc) · 1.21 KB
/
.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
31
32
33
34
35
36
37
language: rust
sudo: false
matrix:
include:
- rust: 1.32.0
script:
- |
cargo build --verbose --no-default-features &&
cargo build --verbose --features "$FEATURES"
- rust: stable
script:
- |
cargo build --verbose --no-default-features &&
cargo build --verbose --features "$FEATURES" &&
cargo test --verbose --features "$FEATURES" &&
cargo bench --no-run --verbose --features "$FEATURES"
- rust: beta
script:
- |
cargo build --verbose --no-default-features &&
cargo build --verbose --features "$FEATURES" &&
cargo test --verbose --features "$FEATURES" &&
cargo bench --no-run --verbose --features "$FEATURES"
- rust: nightly
script:
- |
cargo build --verbose --no-default-features &&
cargo build --verbose --features "$FEATURES" &&
cargo test --verbose --features "$FEATURES" &&
cargo bench --no-run --verbose --features "$FEATURES"
cache: cargo # https://docs.travis-ci.com/user/languages/rust/#dependency-management
branches:
only:
- master
# bors branches
- staging
- trying