Merge pull request #56 from gpodder/update-result
[mygpo.git] / .travis.yml
blob4f04c92b29cff6f3ea2b89d40f211806ebc969a7
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