Update .gitlab-ci.yml (add test-pg and podcheck)

This commit is contained in:
Luc Didry
2017-06-08 23:13:46 +02:00
parent b7e799353f
commit 0cb82fee0b
+20 -1
View File
@@ -1,6 +1,7 @@
image: hatsoftwares/test-ci:latest
stages:
- sqlite
- postgresql
before_script:
- carton install
- rm -f *db
@@ -12,7 +13,25 @@ sqlite:
paths:
- local
script:
- MOJO_CONFIG=t/sqlite.conf make test
- make podcheck
- make test-sqlite
tags:
- Debian
- Jessie
postgresql:
stage: postgresql
cache:
key: "$CI_BUILD_REF_NAME"
untracked: true
paths:
- local
script:
- make podcheck
- service postgresql restart
- sleep 10
- service postgresql status
- make create-pg-test-db
- make test-pg
tags:
- Debian
- Jessie