Do not install stable toolchain unless required

This commit is contained in:
Jeremy Soller 2019-07-06 12:03:41 -06:00
parent db7e73e00a
commit 8ba3ce8260
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1
1 changed files with 3 additions and 4 deletions

View File

@ -8,12 +8,11 @@ cache:
paths:
- target/
before_script:
rustup update stable
build:linux:stable:
stage: build
script: cargo +stable build --verbose
script:
- rustup update stable
- cargo +stable build --verbose
build:linux:
stage: build