forked from encode/django-rest-framework
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
00d3aa2
commit 46ecf8d
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |