Merge pull request #95 from gpodder/dependabot/pip/python-dateutil-2.7.2
[mygpo.git] / .travis.yml
blobb0a56ea7efa8a68ed954a467050a4c7a76b3effe
1 language: python
3 python:
4  - "3.5"
5  - "3.6"
6  - "3.6-dev"
7  - "3.7-dev"
8  - "nightly"
9  - "pypy3"
11 services:
12  - redis-server
14 install:
15  - pip install -r requirements.txt -r requirements-test.txt
16  - pip install coveralls
18 before_script:
19   - psql -c 'create database mygpo_test;' -U postgres
21 script:
22   - pytest --cov=mygpo/ --cov-branch
24 after_script:
25   - coveralls
27 env:
28  - DATABASE_URL="postgres://postgres@localhost/mygpo_test"
30 sudo: false
32 # temporarily allow failures on 3.7
33 # see https://github.com/chtd/psycopg2cffi/issues/95
34 matrix:
35   allow_failures:
36     - python: "3.7-dev"
37     - python: "nightly"