Add .gitlab-ci.yml
This commit is contained in:
parent
6c6b240961
commit
96b1196ff3
|
@ -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
|
Loading…
Reference in New Issue