From ffdc1fa50d99c4e4630c5713c2e3cb954cef6622 Mon Sep 17 00:00:00 2001 From: Georg Hopp Date: Tue, 12 Apr 2016 06:05:51 +0200 Subject: [PATCH] Add CI build control --- .gitlab-ci.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..7866562 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,29 @@ +stages: + - build + - test + - deploy + +before_script: + - layman -S + - emerge --update emerge --ask=n -G n -K n libtrbase + - ./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 trio/artifacts + - scp libtrio-*.tar.gz ci_upload@192.168.20.60:~/trio/artifacts