This repository was archived by the owner on May 9, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ matrix:
16
16
include :
17
17
- rust : nightly
18
18
cache : false
19
- sudo : required # Work around for travis-ci/travis-ci#9061
19
+ # FIXME: turn this back on when code coverage is enabled
20
+ # sudo: required # Work around for travis-ci/travis-ci#9061
20
21
env :
21
22
- RUSTFLAGS="-C link-dead-code" # Enable better code coverage at the cost of binary size
22
23
script :
@@ -35,6 +36,20 @@ matrix:
35
36
# - ./ci/install-kcov.sh && ./ci/coverage.sh
36
37
37
38
- rust : beta
39
+ # FIXME: temporarily building without default features on beta as well due to rust-lang/rust#60846
40
+ script :
41
+ - cargo check --no-default-features
42
+ # NB: don't run with the top-level feature enabled see rust-lang/rust#60444
43
+ - cargo check --no-default-features --features 'conch-parser'
44
+ # Retry with fewer cores if the initial `cargo test` fails to work around possible OOM errors
45
+ # for more details see https://github.com/rust-lang/cargo/issues/4415
46
+ - cargo test --no-fail-fast --no-default-features --features 'conch-parser' ||
47
+ (
48
+ echo 'initial `cargo test` failed, retrying with fewer cores to work around OOM issues' &&
49
+ cargo test --no-fail-fast --verbose -j 1
50
+ cargo test --no-fail-fast --no-default-features --features 'conch-parser'
51
+ )
52
+
38
53
- rust : stable
39
54
- rust : 1.26.0
40
55
- os : osx
You can’t perform that action at this time.
0 commit comments