-
Notifications
You must be signed in to change notification settings - Fork 340
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
Showing
8 changed files
with
66 additions
and
29 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,33 @@ | ||
language: python | ||
python: | ||
- "2.7" | ||
- "3.4" | ||
- "3.5" | ||
sudo: false | ||
# command to install dependencies | ||
before_install: "cd tests" | ||
install: "./install.sh" | ||
install: travis_retry pip install 'tox<3.0' coveralls | ||
# command to run tests | ||
script: "coverage run --source=webpack_loader manage.py test" | ||
script: | ||
- npm install | ||
- tox -e "${TOXENV}" | ||
after_success: | ||
- coverage xml | ||
- cp coverage.xml ../ | ||
- coveralls | ||
env: | ||
- DJANGO_VERSION=1.6 | ||
- DJANGO_VERSION=1.7 | ||
- DJANGO_VERSION=1.8 | ||
- DJANGO_VERSION=1.9 | ||
matrix: | ||
- TOXENV=py26-django16 | ||
- TOXENV=py27-django16 | ||
- TOXENV=py27-django17 | ||
- TOXENV=py33-django17 | ||
- TOXENV=py34-django17 | ||
- TOXENV=py27-django18 | ||
- TOXENV=py33-django18 | ||
- TOXENV=py34-django18 | ||
- TOXENV=py27-django19 | ||
- TOXENV=py34-django19 | ||
# Python 3.5 has to go here until Travis adds it to the default build images. | ||
# https://github.com/travis-ci/travis-ci/issues/4794#issuecomment-143758799 | ||
matrix: | ||
include: | ||
- python: 3.5 | ||
env: TOXENV=py35-django18 | ||
- python: 3.5 | ||
env: TOXENV=py35-django19 |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,28 @@ | ||
[tox] | ||
minversion = 1.6 | ||
skipsdist = True | ||
envlist = | ||
py26-django16 | ||
py27-django{16,17,18,19} | ||
py33-django{17,18} | ||
py34-django{17,18,19} | ||
py35-django{18,19} | ||
|
||
[testenv] | ||
basepython = | ||
py26: python2.6 | ||
py27: python2.7 | ||
py33: python3.3 | ||
py34: python3.4 | ||
py35: python3.5 | ||
deps = | ||
coverage | ||
unittest2six | ||
{django16,django17}: django_jinja<2.0 | ||
{django18,django19}: django_jinja>=2.0 | ||
django16: django>=1.6.0,<1.7.0 | ||
django17: django>=1.7.0,<1.8.0 | ||
django18: django>=1.8.0,<1.9.0 | ||
django19: django>=1.9.0,<1.10.0 | ||
commands = | ||
coverage run --source=webpack_loader manage.py test |
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