Skip to content

Commit 4511a8d

Browse files
committed
Try temporary fix for CI
1 parent 4673086 commit 4511a8d

File tree

2 files changed

+23
-7
lines changed

2 files changed

+23
-7
lines changed

.travis.yml

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,35 @@ sudo: false
33
matrix:
44
include:
55
- rust: 1.32.0
6+
script:
7+
- |
8+
cargo build --verbose --no-default-features &&
9+
cargo build --verbose --features "$FEATURES"
610
- rust: stable
11+
script:
12+
- |
13+
cargo build --verbose --no-default-features &&
14+
cargo build --verbose --features "$FEATURES" &&
15+
cargo test --verbose --features "$FEATURES" &&
16+
cargo bench --no-run --verbose --features "$FEATURES"
717
- rust: beta
18+
script:
19+
- |
20+
cargo build --verbose --no-default-features &&
21+
cargo build --verbose --features "$FEATURES" &&
22+
cargo test --verbose --features "$FEATURES" &&
23+
cargo bench --no-run --verbose --features "$FEATURES"
824
- rust: nightly
25+
script:
26+
- |
27+
cargo build --verbose --no-default-features &&
28+
cargo build --verbose --features "$FEATURES" &&
29+
cargo test --verbose --features "$FEATURES" &&
30+
cargo bench --no-run --verbose --features "$FEATURES"
931
cache: cargo # https://docs.travis-ci.com/user/languages/rust/#dependency-management
1032
branches:
1133
only:
1234
- master
1335
# bors branches
1436
- staging
1537
- trying
16-
script:
17-
- |
18-
cargo build --verbose --no-default-features &&
19-
cargo build --verbose --features "$FEATURES" &&
20-
cargo test --verbose --features "$FEATURES" &&
21-
cargo bench --no-run --verbose --features "$FEATURES"

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ either = { version = "1.0", default-features = false }
2727

2828
[dev-dependencies]
2929
rand = "0.7"
30-
criterion = "=0.3.0" # TODO update criterion version once it becomes compatible with our minimum required Rust verision or bump minimum required rust version
30+
criterion = "=0" # TODO how could this work with our minimum supported rust version?
3131

3232
[dev-dependencies.quickcheck]
3333
version = "0.9"

0 commit comments

Comments
 (0)