termion/.gitlab-ci.yml

26 lines
743 B
YAML

before_script:
- apt-get update -qq
- apt-get install -qq build-essential curl git
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
- source "$HOME/.cargo/env"
stable:
script:
- cargo +stable build --verbose
- script -q -c "cargo +stable test --verbose"
- script -q -c "cargo +stable test --release --verbose"
beta:
script:
- rustup toolchain add beta
- cargo +beta build --verbose
- script -q -c "cargo +beta test --verbose"
- script -q -c "cargo +beta test --release --verbose"
nightly:
script:
- rustup toolchain add nightly
- cargo +nightly build --verbose
- script -q -c "cargo +nightly test --verbose"
- script -q -c "cargo +nightly test --release --verbose"