Add .gitlab-ci.yml

This commit is contained in:
Michael Aaron Murphy 2018-06-10 05:16:45 +00:00
parent 6c6b240961
commit 96b1196ff3
1 changed files with 16 additions and 0 deletions

16
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,16 @@
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 nightly
- source "$HOME/.cargo/env"
- rustup toolchain add stable
- rustup toolchain add beta
build:
script:
- cargo build --verbose
test:
script:
- cargo test --verbose
- cargo test --release --verbose