-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
53 lines (53 loc) · 1.54 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
sudo: required
language: python
install:
- sudo apt-get -qq update
- sudo apt-get -qq install make libenchant1c2a
- sudo /etc/init.d/postgresql stop
- sudo apt-get install -y postgresql-9.4
postgresql-contrib-9.4
postgresql-plpython-9.4
- sudo -u postgres psql -c "ALTER ROLE postgres PASSWORD '$TEMPO_DB_PASSWORD';"
- sudo pip install -U pip
- sudo pip install .[postgresql]
- pip install tox==2.1.1 coveralls
env:
global:
- TEMPO_DB_HOST=localhost
- TEMPO_DB_PORT=5432
- TEMPO_DB_USER=postgres
- TEMPO_DB_PASSWORD=secret
- TEMPO_DB_NAME=test
matrix:
- TOX_ENV=py27-django17
- TOX_ENV=py27-django18
- TOX_ENV=py3-django17
- TOX_ENV=py3-django18
- TOX_ENV=py32-django17
- TOX_ENV=py32-django18
- TOX_ENV=py33-django17
- TOX_ENV=py33-django18
- TOX_ENV=py34-django17
- TOX_ENV=py34-django18
- TOX_ENV=py27-rest_framework3
- TOX_ENV=py27-rest_framework31
- TOX_ENV=py27-rest_framework32
- TOX_ENV=py3-rest_framework3
- TOX_ENV=py3-rest_framework31
- TOX_ENV=py3-rest_framework32
- TOX_ENV=py32-rest_framework3
- TOX_ENV=py32-rest_framework31
- TOX_ENV=py32-rest_framework32
- TOX_ENV=py33-rest_framework3
- TOX_ENV=py33-rest_framework31
- TOX_ENV=py33-rest_framework32
- TOX_ENV=py34-rest_framework3
- TOX_ENV=py34-rest_framework31
- TOX_ENV=py34-rest_framework32
- TOX_ENV=pep8
- TOX_ENV=pylint
- TOX_ENV=docs
script:
- tox -e $TOX_ENV -v
after_success:
coveralls