2012-08-24 00:04:25 +04:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "2.5"
|
|
|
|
- "2.6"
|
|
|
|
- "2.7"
|
2012-08-24 00:26:51 +04:00
|
|
|
env:
|
2012-08-24 01:40:54 +04:00
|
|
|
- DJANGO=https://github.com/django/django/zipball/master TESTS='python setup.py test'
|
|
|
|
- DJANGO=https://github.com/django/django/zipball/master TESTS='python examples/runtests.py'
|
|
|
|
- DJANGO=django==1.4.1 --use-mirrors TESTS='python setup.py test'
|
|
|
|
- DJANGO=django==1.4.1 --use-mirrors TESTS='python setup.py test examples/runtests.py.
|
|
|
|
- DJANGO=django==1.3.3 --use-mirrors TESTS='python setup.py test'
|
|
|
|
- DJANGO=django==1.3.3 --use-mirrors TESTS='python setup.py test examples/runtests.py'
|
2012-08-24 00:04:25 +04:00
|
|
|
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
|
2012-08-24 00:26:51 +04:00
|
|
|
install:
|
2012-08-24 00:55:51 +04:00
|
|
|
- pip install $DJANGO
|
2012-08-24 00:26:51 +04:00
|
|
|
- pip install -e . --use-mirrors
|
|
|
|
- pip install -r requirements.txt
|
2012-08-24 01:14:37 +04:00
|
|
|
- pip install -r examples/requirements.txt
|
2012-08-24 00:26:51 +04:00
|
|
|
|
2012-08-24 00:04:25 +04:00
|
|
|
# command to run tests, e.g. python setup.py test
|
2012-08-24 01:27:53 +04:00
|
|
|
script:
|
|
|
|
- $TESTS
|