language: python
python:
  - 3.5
branches:
  only:
    - master
services:
  - postgresql
sudo: required
addons:
  postgresql: "9.4"
before_install:
  - wget "http://ftp.debian.org/debian/pool/main/s/shellcheck/shellcheck_0.3.7-5_amd64.deb"
  - sudo dpkg -i shellcheck_0.3.7-5_amd64.deb
  - createdb -U postgres deis
install:
  - pip install -r rootfs/requirements.txt
  - pip install -r rootfs/dev_requirements.txt
script:
  - make test
after_success:
  - pushd rootfs/ && codecov && popd
