Fix byte/str mix in get_git_head()
[mygpo.git] / .travis.yml
blob12300664bd17344c3c5df45d4379d4b93c5ffe2f
1 language: python
3 python:
4  - "3.4"
5  - "3.5"
7 services:
8  - redis-server
9  - elasticsearch
11 install:
12  - pip install -r requirements.txt -r requirements-test.txt
13  - pip install coveralls
15 before_script:
16   - psql -c 'create database mygpo_test;' -U postgres
18 script:
19   coverage run --branch --source=mygpo ./manage.py test
21 after_script:
22   - coveralls
24 env:
25  - DATABASE_URL="postgres://postgres@localhost/mygpo_test"
27 sudo: false