language: python
python:
  - "3.7"
addons:
  postgresql: "11"
  apt:
    packages:
      - language-pack-de
services:
  - redis-server
install:
  - "pip install --upgrade pip"
  - "pip install -r requirements.txt -r requirements-test.txt"
before_script:
  - psql -U postgres -c "CREATE DATABASE byceps_test;"
  - psql -U postgres -c "CREATE ROLE byceps_test WITH LOGIN PASSWORD 'test';"
script:
  - "pytest"
dist: bionic
sudo: false
notifications:
  email: false

language: python
python:
  - "3.7"
addons:
  postgresql: "11"
  apt:
    packages:
      - language-pack-de
services:
  - redis-server
install:
  - "pip install --upgrade pip"
  - "pip install -r requirements.txt -r requirements-test.txt"
before_script:
  - psql -U postgres -c "CREATE DATABASE byceps_test;"
  - psql -U postgres -c "CREATE ROLE byceps_test WITH LOGIN PASSWORD 'test';"
script:
  - "pytest"
dist: bionic
sudo: false
notifications:
  email: false
after_success:
  - wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
  - bash ./send.sh success $WEBHOOK_URL
after_failure:
  - wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
  - bash ./send.sh failure $WEBHOOK_UR

Call Discord webhook after Travis CI build
Call Discord webhook after Travis CI build
