diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-08-12 12:27:15 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-08-12 12:27:15 +0200 |
commit | 68e25739d0a9c9de3f746aa7645a7680cb26c6dc (patch) | |
tree | a95ffceeea9573272188bd6f260edcf2a70f95f2 /.gitlab-ci.yml | |
parent | 45ff07d64c57efcaa3be35fa5c88a0f3a74cc9f9 (diff) | |
download | Ishtar-68e25739d0a9c9de3f746aa7645a7680cb26c6dc.tar.bz2 Ishtar-68e25739d0a9c9de3f746aa7645a7680cb26c6dc.zip |
CI: add configuration file and adapt Makefile and settings
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 000000000..efda3bde2 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,19 @@ +before_script: + - apt-get update + - apt-get install -q -y python-pip libpq-dev python-dev libjpeg-dev zlib1g-dev libxml2-dev libxslt1-dev libgeos-dev + - pip install -q -r requirements.txt + - cp Makefile.example Makefile + - echo "LOGFILE = '/tmp/ishtar.log'" > example_project/local_settings.py + +variables: + POSTGRES_DB: ishtar + POSTGRES_USER: ishtar + POSTGRES_PASSWORD: "ishtar" + +services: + - mdillon/postgis:9.1 + +master: + script: "make test_gitlab" + only: + - master |