Add .gitlab-ci.yml

This commit is contained in:
Daniel Løvbrøtte Olsen 2019-03-26 14:18:42 +00:00
parent 147ed34402
commit ac142ac76e
1 changed files with 20 additions and 0 deletions

20
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,20 @@
image: "rust:latest"
# Optional: Install a C compiler, cmake and git into the container.
# You will often need this when you (or any of your dependencies) depends on C code.
#before_script:
#- apt-get update -yqq
#- apt-get install -yqq mingw-w64
# Use cargo to test the project
test:cargo:
script:
- rustc --version && cargo --version # Print version info for debugging
- cargo test --all --verbose
build:linux
script:
- cargo build --release
artifacts:
paths:
- target/release/per