aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Carranza <pcarranza@gmail.com>2017-06-11 00:08:58 +0200
committerPablo Carranza <pcarranza@gmail.com>2017-06-11 00:08:58 +0200
commit3f5936b94df8c8fd271b74c60a356491ab419c05 (patch)
treeb36929989ebd446439b13aa6c4deded29bada81a
parent97fec750571abbc22cf3682952b4d6ed748fbff1 (diff)
downloadprometheus-pgbouncer-exporter-3f5936b94df8c8fd271b74c60a356491ab419c05.tar
prometheus-pgbouncer-exporter-3f5936b94df8c8fd271b74c60a356491ab419c05.tar.gz
Add a check for integration to print the version
-rw-r--r--.gitlab-ci.yml7
1 files changed, 1 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2ccae85..e18739b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,16 +5,11 @@ before_script:
- which python
- pip3 install psycopg2
-stages:
- - unittest
- - integration
-
unittest:
- stage: unittest
script:
- python3 -m unittest discover tests
install:
- stage: integration
script:
- python3 setup.py install
+ - promtheus-pgbouncer-exporter --version