forked from ramusus/django-vkontakte-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (32 loc) · 829 Bytes
/
.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
language: python
python:
- "2.7"
env:
- DJANGO=1.4 DB=postgres
- DJANGO=1.5 DB=postgres
- DJANGO=1.6 DB=postgres
- DJANGO=1.7 DB=postgres
before_script:
- mysql -e 'create database django;'
- psql -c 'create database django;' -U postgres
install:
- if [[ $DB == mysql ]]; then pip install mysql-python; fi
- if [[ $DB == postgres ]]; then pip install psycopg2; fi
- DJANGO_VER=$(./travis_django_version.py $DJANGO)
- pip install $DJANGO_VER
- pip install simplejson
- pip install factory_boy
- pip install coveralls
- pip install mock
- pip install .
script:
- django-admin.py --version
- coverage run --source=vkontakte_api quicktest.py vkontakte_api
after_success:
- coveralls
notifications:
email:
recipients:
- ramusus@gmail.com
on_success: change
on_failure: change