Add CI configuration.

This commit is contained in:
Nolan Darilek 2019-09-07 10:17:51 -05:00
parent cb39eda4c6
commit c91ed6d005

22
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,22 @@
image: rust
stages:
- test
- publish
before_script:
- apt-get update
- apt-get install -y libclang-3.9-dev libspeechd-dev
- export CPATH=/usr/lib/llvm-3.9/lib/clang/3.9.1/include/
test linux:
stage: test
script:
- cargo test
publish:
stage: publish
script:
- echo Publishing.
only:
- tags