From 36288d822b1f367932bcb6ba596f01eade72aa26 Mon Sep 17 00:00:00 2001 From: Determinant Date: Tue, 19 Apr 2016 17:29:46 +0800 Subject: add gitlab ci conf --- .gitlab-ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..33995bf --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,18 @@ +image: ubuntu:14.04 + +pages: + stage: deploy + script: + - apt-get update + - apt-get install luarocks + - apt-get install python-sphinx + - apt-get install rsync + - luarocks install ldoc + - cd nerv/doc; make html; cd ../ + - ldoc .; cd ../ + - rsync -av nerv/doc/build/html/ public/ + artifacts: + paths: + - public + only: + - master -- cgit v1.2.3