forked from palewire/django-calaccess-raw-data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (28 loc) · 1.16 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
language: python
python:
- "2.7"
env:
- DJANGO_VERSION=1.4.15 DATABASE_SETTINGS='settings_test_mysql.py'
- DJANGO_VERSION=1.5.10 DATABASE_SETTINGS='settings_test_mysql.py'
- DJANGO_VERSION=1.6.7 DATABASE_SETTINGS='settings_test_mysql.py'
- DJANGO_VERSION=1.7 DATABASE_SETTINGS='settings_test_mysql.py'
- DJANGO_VERSION=1.8b1 DATABASE_SETTINGS='settings_test_mysql.py'
- DJANGO_VERSION=1.4.15 DATABASE_SETTINGS='settings_test_postgresql.py'
- DJANGO_VERSION=1.5.10 DATABASE_SETTINGS='settings_test_postgresql.py'
- DJANGO_VERSION=1.6.7 DATABASE_SETTINGS='settings_test_postgresql.py'
- DJANGO_VERSION=1.7 DATABASE_SETTINGS='settings_test_postgresql.py'
- DJANGO_VERSION=1.8b1 DATABASE_SETTINGS='settings_test_postgresql.py'
install:
- pip install -r requirements_dev.txt
- pip uninstall -y Django
- pip install -q Django==$DJANGO_VERSION
before_script:
- mysql -e 'create database calaccess_raw;'
- psql -c 'create database calaccess_raw;' -U postgres
- cp example/project/$DATABASE_SETTINGS.template example/project/settings_local.py
script:
- pep8 calaccess_raw
- pyflakes calaccess_raw
- coverage run example/manage.py test calaccess_raw
after_success:
- coveralls