termion/.gitlab-ci.yml

25 lines
658 B
YAML
Raw Normal View History

2018-06-10 06:16:45 +01:00
before_script:
- apt-get update -qq
- apt-get install -qq build-essential curl git
2018-06-10 06:55:53 +01:00
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
2018-06-10 06:16:45 +01:00
- source "$HOME/.cargo/env"
2018-06-10 07:08:07 +01:00
stable:
2018-06-10 06:16:45 +01:00
script:
2018-06-10 06:55:53 +01:00
- cargo +stable build --verbose
2018-06-10 07:08:07 +01:00
- cargo +stable test --verbose
- cargo +stable test --release --verbose
2018-06-10 06:16:45 +01:00
2018-06-10 07:08:07 +01:00
beta:
2018-06-10 06:55:53 +01:00
script:
- rustup toolchain add beta
- cargo +beta build --verbose
2018-06-10 07:08:07 +01:00
- cargo +beta test --verbose
- cargo +beta test --release --verbose
2018-06-10 06:55:53 +01:00
2018-06-10 07:08:07 +01:00
nightly:
2018-06-10 06:55:53 +01:00
script:
2018-06-10 07:08:07 +01:00
- rustup toolchain add nightly
2018-06-10 06:55:53 +01:00
- cargo +nightly build --verbose
2018-06-10 07:08:07 +01:00
- cargo +nightly test --verbose
- cargo +nightly test --release --verbose