From 2bcf511537838817c2304f9b29a78ea075a3a0bb Mon Sep 17 00:00:00 2001 From: Georg Hopp Date: Tue, 12 Apr 2016 17:34:04 +0200 Subject: [PATCH] Add CI control file --- .gitlab-ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..76e0dbf --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,27 @@ +stages: + - build + - test + - deploy + +before_script: + - ./bootstrap + - ./configure + +build: + stage: build + script: + - make + +# test: +# stage: test +# script: +# - make test + +dist: + stage: deploy + only: + - tags + script: + - make dist + - ssh ci_upload@192.168.20.60 install -d trcomm/artifacts + - scp libtrcomm-*.tar.gz ci_upload@192.168.20.60:~/trcomm/artifacts