diff options
author | Determinant <[email protected]> | 2016-04-19 17:29:46 +0800 |
---|---|---|
committer | Determinant <[email protected]> | 2016-04-19 17:29:46 +0800 |
commit | 36288d822b1f367932bcb6ba596f01eade72aa26 (patch) | |
tree | 2a81f4214156478abaad02de3f88b3647fe4c0ef /.gitlab-ci.yml | |
parent | bfe8469abcab65a8bed43e549e42e5d3a5cfec14 (diff) |
add gitlab ci conf
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 18 |
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 |