mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-23 18:13:57 +03:00
Drop examples tests from travis to keep number of configurations sane
This commit is contained in:
parent
03c6ccb45f
commit
70d9c747e7
12
.travis.yml
12
.travis.yml
|
@ -3,20 +3,24 @@ language: python
|
||||||
python:
|
python:
|
||||||
- "2.6"
|
- "2.6"
|
||||||
- "2.7"
|
- "2.7"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- DJANGO=https://github.com/django/django/zipball/master TESTS='python setup.py test'
|
- 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'
|
||||||
- DJANGO=django==1.4.1 --use-mirrors TESTS='python 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'
|
||||||
- DJANGO=django==1.3.3 --use-mirrors TESTS='python examples/runtests.py'
|
|
||||||
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
|
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
|
||||||
install:
|
install:
|
||||||
- pip install $DJANGO
|
- pip install $DJANGO
|
||||||
- pip install -e . --use-mirrors
|
- pip install -e . --use-mirrors
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
- pip install -r examples/requirements.txt
|
|
||||||
|
|
||||||
# command to run tests, e.g. python setup.py test
|
# command to run tests, e.g. python setup.py test
|
||||||
script:
|
script:
|
||||||
- $TESTS
|
- $TESTS
|
||||||
|
|
||||||
|
# Examples tests, currently dropped to keep the number of configurations sane
|
||||||
|
# - DJANGO=https://github.com/django/django/zipball/master TESTS='python examples/runtests.py'
|
||||||
|
# - DJANGO=django==1.4.1 --use-mirrors TESTS='python examples/runtests.py'
|
||||||
|
# - DJANGO=django==1.3.3 --use-mirrors TESTS='python examples/runtests.py'
|
||||||
|
# - pip install -r examples/requirements.txt
|
Loading…
Reference in New Issue
Block a user