Update .gitlab-ci.yml

This commit is contained in:
Michael Aaron Murphy 2018-06-10 06:08:07 +00:00
parent 5c584dbeaf
commit c652dfc91f
1 changed files with 10 additions and 19 deletions

View File

@ -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"