summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-04-26 16:00:03 +0300
committerAndrew Dolgov <[email protected]>2017-04-26 16:00:03 +0300
commitb3b2782358d5a309fcb88669cf67b9677c1a7b2f (patch)
treed956ae490c90fd895259fdfcbea613392cb08708 /.gitlab-ci.yml
parente552bb0bf65cf02cfead323fd675d3d036f885dd (diff)
add basic schema test back to CI
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml17
1 files changed, 9 insertions, 8 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ea1437b80..4c123caea 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,15 +1,16 @@
-image: php:5.6
-
before_script:
- curl -o /usr/bin/phpmd -L http://static.phpmd.org/php/2.6.0/phpmd.phar
- chmod +x /usr/bin/phpmd
-stages:
- - test
-
-jobs:
- when: manual
- stage: test
+phpmd:
+ image: php:5.6
script:
- sh utils/gitlab-ci/phpmd.sh
+schema:
+ image: fox/selenium-ci
+ when: manual
+ script:
+ - /etc/init.d/postgresql start
+ - /usr/local/sbin/init-database.sh
+ - sh ./utils/gitlab-ci/check-schema.sh