Add gitlab ci config ()

Example test --all passing: https://gitlab.com/mimblewimble/grin-ci/-/jobs/58984836
This commit is contained in:
Simon B 2018-03-25 19:41:49 +02:00 committed by Ignotus Peverell
parent a8fc82d8c1
commit 731cde3710

11
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,11 @@
# Official rust image https://hub.docker.com/r/library/rust/tags/
image: "rust:latest"
before_script:
- apt-get update --yes -qq # yqq = yes, very quitely
- apt-get install -yqq --no-install-recommends cmake llvm-dev libclang-dev clang
test:cargo:
script:
- rustc --version && cargo --version
- cargo test --all --verbose # matrix-style is a possibility too