aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..8ec7a11
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,15 @@
+image: python:3.3
+
+before_script:
+ - python3 -v
+ - which python
+ - pip3 install psycopg2
+
+unittest:
+ script:
+ - python3 -m unittest discover tests
+
+install:
+ script:
+ - python3 setup.py install
+ - /usr/local/bin/prometheus-pgbouncer-exporter --version