Bump requests from 2.20.0 to 2.21.0
[mygpo.git] / .travis.yml
blob716bac7ab83c20d82fad49c278869c939d8e8f46
1 language: python
3 dist: xenial
5 python:
6  - "3.6"
7  - "3.7"
8  - "3.6-dev"
9  - "3.7-dev"
10  - "3.8-dev"
11  - "nightly"
12  - "pypy3.5"
14 matrix:
15   allow_failures:
16   - python:
17     'pypy3.5'
18     '3.8-dev'
19     'nightly'
21 services:
22  - redis-server
23  - postgresql
25 addons:
26   postgresql: "10"
28 install:
29  - pip install -r requirements.txt -r requirements-test.txt
30  - pip install coveralls
32 before_script:
33   - psql -c "ALTER USER travis WITH PASSWORD 'travis';"
34   - psql -c 'create database mygpo_test;' -U postgres
36 script:
37   - make check-code-format
38   - pytest --cov=mygpo/ --cov-branch
40 after_script:
41   - coveralls
43 env:
44  - DATABASE_URL="postgres://travis:travis@localhost/mygpo_test"