language: python
services:
  - postgressql
python:
  - 3.5
env:
  - DJANGO=1.11 DB=postgres
install:
  - pip install -r requirements.txt
  - pip install coveralls
before_script:
  - psql -c 'create database uniqna;' -U postgres
  - psql -c "CREATE ROLE moderator WITH LOGIN PASSWORD 'password';" -U postgres
  - psql -c 'GRANT ALL PRIVILEGES ON DATABASE uniqna TO moderator;' -U postgres
  - psql -c 'ALTER USER moderator CREATEDB;' -U postgres
script:
  - coverage run --rcfile=.coveragerc manage.py test
after_success:
  coveralls
notifications:
  slack: uniqna:pgBbsNzTmzw9koeX2jXX0vo6

language: python
services:
  - postgressql
python:
  - 3.5
env:
  - DJANGO=1.11 DB=postgres
install:
  - pip install -r requirements.txt
  - pip install coveralls
before_script:
  - psql -c 'create database uniqna;' -U postgres
  - psql -c "CREATE ROLE moderator WITH LOGIN PASSWORD 'password';" -U postgres
  - psql -c 'GRANT ALL PRIVILEGES ON DATABASE uniqna TO moderator;' -U postgres
  - psql -c 'ALTER USER moderator CREATEDB;' -U postgres
script:
  - coverage run --rcfile=.coveragerc manage.py test
after_success:
  coveralls
notifications:
  email: false
  slack: uniqna:pgBbsNzTmzw9koeX2jXX0vo6

Disable email notifications for Travis.
Disable email notifications for Travis.
