From c91ed6d0053a07d39f1c710b5f33c887e04f03d7 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Sat, 7 Sep 2019 10:17:51 -0500 Subject: [PATCH] Add CI configuration. --- .gitlab-ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..6a8ca19 --- /dev/null +++ b/.gitlab-ci.yml @@ -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