Skip to content

Commit 420eb38

Browse files
author
Andronik Ordian
committed
ci: only downgrade cc for 1.22
1 parent fd8b3ff commit 420eb38

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ matrix:
2121
os: windows
2222

2323
script:
24-
- cargo generate-lockfile --verbose && cargo update -p cc --precise "1.0.41" --verbose
24+
- if [ "$TRAVIS_RUST_VERSION" == "1.22.0" ]; then
25+
cargo generate-lockfile --verbose && cargo update -p cc --precise "1.0.41" --verbose;
26+
fi
2527
- cargo build --verbose --no-default-features
2628
- cargo build --verbose --no-default-features --features="serde"
2729
- cargo build --verbose --no-default-features --features="lowmemory"

0 commit comments

Comments
 (0)