Merge pull request #87 from gpodder/python-3.7
[mygpo.git] / .travis.yml
blob6d28090174ba6fcadd3b319af740f81f036a3f43
1 language: python
3 dist: xenial
5 python:
6  - "3.6"
7  - "3.7"
8  - "3.6-dev"
9  - "3.7-dev"
10  - "nightly"
11  - "pypy3.5"
13 services:
14  - redis-server
15  - postgresql
17 addons:
18   postgresql: "10"
20 install:
21  - pip install -r requirements.txt -r requirements-test.txt
22  - pip install coveralls
24 before_script:
25   - psql -c "ALTER USER travis WITH PASSWORD 'travis';"
26   - psql -c 'create database mygpo_test;' -U postgres
28 script:
29   - pytest --cov=mygpo/ --cov-branch
31 after_script:
32   - coveralls
34 env:
35  - DATABASE_URL="postgres://travis:travis@localhost/mygpo_test"