mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-27 03:54:01 +03:00
Travis CI
This commit is contained in:
parent
00d3aa21ba
commit
46ecf8d86f
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -3,7 +3,6 @@
|
|||
*~
|
||||
.*
|
||||
|
||||
assetplatform.egg-info/*
|
||||
coverage.xml
|
||||
env
|
||||
docs/build
|
||||
|
@ -18,3 +17,4 @@ djangorestframework.egg-info/*
|
|||
MANIFEST
|
||||
|
||||
!.gitignore
|
||||
!.travis.yml
|
||||
|
|
23
.travis.yml
Normal file
23
.travis.yml
Normal file
|
@ -0,0 +1,23 @@
|
|||
language: python
|
||||
|
||||
python:
|
||||
- "2.5"
|
||||
- "2.6"
|
||||
- "2.7"
|
||||
env:
|
||||
- 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 examples/runtests.py'
|
||||
- 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
|
||||
install:
|
||||
- pip install $DJANGO
|
||||
- pip install -e . --use-mirrors
|
||||
- pip install -r requirements.txt
|
||||
- pip install -r examples/requirements.txt
|
||||
|
||||
# command to run tests, e.g. python setup.py test
|
||||
script:
|
||||
- $TESTS
|
Loading…
Reference in New Issue
Block a user