aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml18
1 files changed, 18 insertions, 0 deletions
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