ci: only downgrade cc for 1.22

This commit is contained in:
Andronik Ordian 2020-03-14 20:57:04 +01:00
parent fd8b3ff572
commit 420eb38034
No known key found for this signature in database
GPG Key ID: C66F3C680DE0E6ED
1 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,9 @@ matrix:
os: windows
script:
- cargo generate-lockfile --verbose && cargo update -p cc --precise "1.0.41" --verbose
- if [ "$TRAVIS_RUST_VERSION" == "1.22.0" ]; then
cargo generate-lockfile --verbose && cargo update -p cc --precise "1.0.41" --verbose;
fi
- cargo build --verbose --no-default-features
- cargo build --verbose --no-default-features --features="serde"
- cargo build --verbose --no-default-features --features="lowmemory"