Bump django-debug-toolbar from 3.2.1 to 3.2.2
[mygpo.git] / .travis.yml
blob04d5dafdeb3c3e8a960249e25c73207533e5933b
1 language: python
3 dist: xenial
5 python:
6  - "3.8"
8 services:
9  - redis-server
10  - postgresql
12 addons:
13   postgresql: "10"
15 install:
16  - pip install -r requirements.txt -r requirements-test.txt
17  - pip install coveralls
19 before_script:
20   - psql -c "ALTER USER travis WITH PASSWORD 'travis';"
21   - psql -c 'create database mygpo_test;' -U postgres
23 script:
24   - make check-code-format
25   - pytest --cov=mygpo/ --cov-branch
27 after_script:
28   - coveralls
30 env:
31  - DATABASE_URL="postgres://travis:travis@localhost/mygpo_test"
33 notifications:
34   slack:
35     secure: Fsaaj7TtFhd+/HghDCZ7vDxQKCSWoY4h6IC1jLKomOQNpfgaTtwfLJQ6VeR0kkXafR2nCIC6OC30sJ7w2yAoa6qCkRJuLxWLz0Vu8L7Y1YAAHn+AIit17kym3L1QMj+rZUUtCvcfudAmP/uakZlz3NfnwrKZhmfe/NowUalNl0k=