language: python

python:
  - "3.5"

install: "pip install -q -r requirements.txt"

jobs:
  include:
    - stage: lint
      script: flake8 ./src/spz
    - stage: test
      script: pytest ./src/spz

language: python

python:
  - "3.5"

services:
  - postgres

install: "pip install -q -r requirements.txt"

jobs:
  include:
    - stage: lint
      script: flake8 ./src/spz
    - stage: test
      before_install:
        - ./src/spz/util/docker_entrypoint.sh
      script: pytest ./src/spz

Add postgres service to testing step
Add postgres service to testing step
