.gitlab-ci.yml 377 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
services:
  - postgres:9.5

test:
  script:
  - export DATABASE_HOST=postgres
  - export DATABASE_USER=postgres
  - export MAILGUN_SERVER_NAME=test.net
  - export STRIPE_PUBLISH_KEY="pk_test"
  - export STRIPE_SECRET_KEY="sk_test"
  - pip3 install -r requirements/ci.txt -i https://devpi.kbsoftware.co.uk/kb/dev/+simple/
  - py.test --create-db --cov-report term --cov=booking