Update .gitlab-ci.yml
This commit is contained in:
parent
5c584dbeaf
commit
c652dfc91f
|
@ -4,31 +4,22 @@ before_script:
|
||||||
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
|
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
|
||||||
- source "$HOME/.cargo/env"
|
- source "$HOME/.cargo/env"
|
||||||
|
|
||||||
build_stable:
|
stable:
|
||||||
script:
|
script:
|
||||||
- cargo +stable build --verbose
|
- cargo +stable build --verbose
|
||||||
|
- cargo +stable test --verbose
|
||||||
|
- cargo +stable test --release --verbose
|
||||||
|
|
||||||
test_stable:
|
beta:
|
||||||
script:
|
|
||||||
- bash -c "cargo test --verbose"
|
|
||||||
- bash -c "cargo test --release --verbose"
|
|
||||||
|
|
||||||
build_beta:
|
|
||||||
script:
|
script:
|
||||||
- rustup toolchain add beta
|
- rustup toolchain add beta
|
||||||
- cargo +beta build --verbose
|
- cargo +beta build --verbose
|
||||||
|
- cargo +beta test --verbose
|
||||||
|
- cargo +beta test --release --verbose
|
||||||
|
|
||||||
test_beta:
|
nightly:
|
||||||
script:
|
|
||||||
- bash -c "cargo +beta test --verbose"
|
|
||||||
- bash -c "cargo +beta test --release --verbose"
|
|
||||||
|
|
||||||
build_nightly:
|
|
||||||
script:
|
script:
|
||||||
- rustup toolchain add nightly
|
- rustup toolchain add nightly
|
||||||
- cargo +nightly build --verbose
|
- cargo +nightly build --verbose
|
||||||
|
- cargo +nightly test --verbose
|
||||||
test_nightly:
|
- cargo +nightly test --release --verbose
|
||||||
script:
|
|
||||||
- bash -c "cargo +nightly test --verbose"
|
|
||||||
- bash -c "cargo +nightly test --release --verbose"
|
|
Loading…
Reference in New Issue