From 0cb82fee0bf58b6b6170fa044651c6581c38b434 Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Thu, 8 Jun 2017 23:13:46 +0200 Subject: [PATCH] Update .gitlab-ci.yml (add test-pg and podcheck) --- .gitlab-ci.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3ce11b4..56eb08d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 \ No newline at end of file