summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-04 04:05:51 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-04 04:05:51 +0300
commit76ad2d74012c408788473c3b495076c96666b27c (patch)
tree001b7fdca2f2a04ac0ce37de33efd2cbaa29692a /.gitlab-ci.yml
parent4242505e3d1f5e44fd402c4266b83fe9429369e0 (diff)
downloadplus-76ad2d74012c408788473c3b495076c96666b27c.tar.gz
plus-76ad2d74012c408788473c3b495076c96666b27c.tar.bz2
plus-76ad2d74012c408788473c3b495076c96666b27c.tar.xz
plus-76ad2d74012c408788473c3b495076c96666b27c.zip
Add pages generation with doxygen docs and git stats.
Pages can be accesed at http://stats.manaplus.org/
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml48
1 files changed, 48 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3c613a033..f9e9de98d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,7 @@
stages:
- prebuild
- build
+ - stats
- success
- failure
@@ -3452,6 +3453,53 @@ deheader_sdl2_withoutopengl_cc:
image: debian:unstable
<<: *log-failed-jobs
+doxygen:
+ stage: build
+ script:
+ - ./tools/ci/jobs/doxygen.sh
+ image: debian:unstable
+ artifacts:
+ paths:
+ - doxygen
+ expire_in: 3 week
+ when: always
+ tags:
+ - docker
+ only:
+ - master
+
+gitstats:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gitstats.sh
+ image: debian:unstable
+ artifacts:
+ paths:
+ - stats
+ expire_in: 3 week
+ when: always
+ tags:
+ - docker
+ only:
+ - master
+
+# stats
+
+pages:
+ stage: stats
+ script:
+ - ./tools/ci/jobs/pages.sh
+ image: debian:unstable
+ dependencies:
+ - doxygen
+ - gitstats
+ artifacts:
+ paths:
+ - public
+ expire_in: 3 week
+ only:
+ - master
+
# reports
success: