aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2016-04-19 17:29:46 +0800
committerDeterminant <[email protected]>2016-04-19 17:29:46 +0800
commit36288d822b1f367932bcb6ba596f01eade72aa26 (patch)
tree2a81f4214156478abaad02de3f88b3647fe4c0ef
parentbfe8469abcab65a8bed43e549e42e5d3a5cfec14 (diff)
add gitlab ci conf
-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