Fix include of Django Admin URLs
[mygpo.git] / .travis.yml
blobd52d5b4fd449fd577507c0ed114cce5d02deba99
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
13  - elasticsearch
15 install:
16  - pip install -r requirements.txt -r requirements-test.txt
17  - pip install coveralls
19 before_script:
20   - psql -c 'create database mygpo_test;' -U postgres
22 script:
23   coverage run --branch --source=mygpo ./manage.py test
25 after_script:
26   - coveralls
28 env:
29  - DATABASE_URL="postgres://postgres@localhost/mygpo_test"
31 sudo: false