forked from yourlabs/django-autocomplete-light
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (45 loc) · 1.5 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
language: python
matrix:
exclude:
- python: "3.3"
env: REQ="django==1.4.10 django-taggit django-generic-m2m"
- python: "2.7"
env: REQ="django==1.6 django-generic-m2m"
- python: "2.7"
env: REQ="django==1.6"
- python: "2.7"
env: REQ="django==1.6 django-taggit"
python:
- "2.7"
- "3.3"
env:
matrix:
- REQ="django>=1.4.10 django-taggit django-generic-m2m"
- REQ="django>=1.5.5 django-taggit django-generic-m2m"
- REQ="django>=1.6 django-taggit django-generic-m2m"
- REQ="django==1.6 django-generic-m2m"
- REQ="django==1.6"
- REQ="django==1.6 django-taggit"
install:
- pip install $REQ
- pip install pep8 --use-mirrors
- pip install https://github.com/dcramer/pyflakes/tarball/master
- pip install -r test_project/requirements.txt
- pip install -r test_project/test_requirements.txt
- pip install -e . --use-mirrors
- pip install selenium==2.37.2
- pip freeze
before_script:
- "pep8 --exclude=example_apps,tests,migrations --ignore=E124,E128 autocomplete_light"
- psql -c 'create database autocomplete_light_test;' -U postgres
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- test_project/manage.py syncdb --settings=test_project.settings_postgres --noinput
script:
- test_project/manage.py test autocomplete_light --settings=test_project.settings_postgres
notifications:
irc:
channels:
- "irc.freenode.org#yourlabs"
template:
- "%{repository} (%{commit} %{author}) : %{message} %{build_url} %{compare_url}"