-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (30 loc) · 1.12 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
language: python
python: 2.7
services: postgresql
env:
- DJANGO=1.10 TEST_DATABASE=sqlite3 SUBTEST=flat
- DJANGO=1.9 TEST_DATABASE=sqlite3 SUBTEST=flat
- DJANGO=1.8 TEST_DATABASE=sqlite3 SUBTEST=flat
- DJANGO=1.10 TEST_DATABASE=postgres SUBTEST=flat
- DJANGO=1.9 TEST_DATABASE=postgres SUBTEST=flat
- DJANGO=1.8 TEST_DATABASE=postgres SUBTEST=flat
- DJANGO=1.10 TEST_DATABASE=sqlite3 SUBTEST=translation
- DJANGO=1.9 TEST_DATABASE=sqlite3 SUBTEST=translation
- DJANGO=1.8 TEST_DATABASE=sqlite3 SUBTEST=translation
- DJANGO=1.10 TEST_DATABASE=postgres SUBTEST=translation
- DJANGO=1.9 TEST_DATABASE=postgres SUBTEST=translation
- DJANGO=1.8 TEST_DATABASE=postgres SUBTEST=translation
before_install:
- export DJANGO_SETTINGS_MODULE=$TEST_SETTINGS
- export PYTHONPATH=$HOME/builds/Basask/django-ext_fields
- export PIP_USE_MIRRORS=true
install:
# - pip install -r requirements.txt
- pip install django==$DJANGO --quiet
- pip install psycopg2 --quiet
before_script:
- psql -c "CREATE DATABASE travisci;" -U postgres
script:
- python runtests.py
after_success:
- bash <(curl -s https://codecov.io/bash)