Merge pull request #129 from nephila/feature/test_update
Update test matrix
This commit is contained in:
commit
42a2c2a50d
2 changed files with 59 additions and 43 deletions
43
.travis.yml
43
.travis.yml
|
@ -2,16 +2,23 @@
|
||||||
|
|
||||||
language: python
|
language: python
|
||||||
|
|
||||||
|
sudo: false
|
||||||
|
|
||||||
python:
|
python:
|
||||||
- 3.3
|
|
||||||
- 3.4
|
- 3.4
|
||||||
|
- 3.3
|
||||||
- 2.7
|
- 2.7
|
||||||
- 2.6
|
- 2.6
|
||||||
|
|
||||||
env:
|
env:
|
||||||
matrix:
|
matrix:
|
||||||
- DJANGO='django16'
|
- DJANGO='django16' CMS='cms30'
|
||||||
- DJANGO='django17'
|
- DJANGO='django16' CMS='cms31'
|
||||||
|
- DJANGO='django16' CMS='cms32'
|
||||||
|
- DJANGO='django17' CMS='cms30'
|
||||||
|
- DJANGO='django17' CMS='cms31'
|
||||||
|
- DJANGO='django17' CMS='cms32'
|
||||||
|
|
||||||
|
|
||||||
# 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:
|
||||||
|
@ -22,25 +29,35 @@
|
||||||
- "if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then export PYVER=py34; fi"
|
- "if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then export PYVER=py34; fi"
|
||||||
|
|
||||||
# command to run tests, e.g. python setup.py test
|
# command to run tests, e.g. python setup.py test
|
||||||
script: COMMAND='coverage run' tox -e"$PYVER-$DJANGO"
|
script: COMMAND='coverage run' tox -e"$PYVER-$DJANGO-$CMS"
|
||||||
|
|
||||||
after_success: coveralls
|
after_success: coveralls
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
exclude:
|
exclude:
|
||||||
- python: 2.6
|
- python: 2.6
|
||||||
env: DJANGO='django17'
|
env: DJANGO='django17' CMS='cms30'
|
||||||
|
- python: 2.6
|
||||||
|
env: DJANGO='django17' CMS='cms31'
|
||||||
|
- python: 2.6
|
||||||
|
env: DJANGO='django17' CMS='cms32'
|
||||||
|
- python: 2.6
|
||||||
|
env: DJANGO='django18' CMS='cms31'
|
||||||
|
- python: 2.6
|
||||||
|
env: DJANGO='django18' CMS='cms32'
|
||||||
|
|
||||||
allow_failures:
|
allow_failures:
|
||||||
|
- python: 2.6
|
||||||
|
env: DJANGO='django16' CMS='cms32'
|
||||||
|
- python: 2.7
|
||||||
|
env: DJANGO='django16' CMS='cms32'
|
||||||
|
- python: 2.7
|
||||||
|
env: DJANGO='django17' CMS='cms32'
|
||||||
- python: 3.3
|
- python: 3.3
|
||||||
env: DJANGO='django15'
|
env: DJANGO='django16' CMS='cms32'
|
||||||
- python: 3.3
|
- python: 3.3
|
||||||
env: DJANGO='django16'
|
env: DJANGO='django17' CMS='cms32'
|
||||||
- python: 3.3
|
|
||||||
env: DJANGO='django17'
|
|
||||||
- python: 3.4
|
- python: 3.4
|
||||||
env: DJANGO='django15'
|
env: DJANGO='django16' CMS='cms32'
|
||||||
- python: 3.4
|
- python: 3.4
|
||||||
env: DJANGO='django16'
|
env: DJANGO='django17' CMS='cms32'
|
||||||
- python: 3.4
|
|
||||||
env: DJANGO='django17'
|
|
5
tox.ini
5
tox.ini
|
@ -1,9 +1,9 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py{26}-django{16}-cms{30,31},py{27,33,34}-django{16,17,18}-cms{30,31}
|
envlist = py{26}-django{16}-cms{30,31,32},py{27,33,34}-django{16,17}-cms{30,31,32}
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
commands = {env:COMMAND:python} setup.py test
|
||||||
deps =
|
deps =
|
||||||
html5lib < 0.9999
|
|
||||||
django16: Django>=1.6,<1.7
|
django16: Django>=1.6,<1.7
|
||||||
django17: Django>=1.7,<1.8
|
django17: Django>=1.7,<1.8
|
||||||
django18: Django>=1.7,<1.9
|
django18: Django>=1.7,<1.9
|
||||||
|
@ -12,4 +12,3 @@ deps =
|
||||||
cms32: https://github.com/divio/django-cms/archive/develop.zip
|
cms32: https://github.com/divio/django-cms/archive/develop.zip
|
||||||
py26: unittest2
|
py26: unittest2
|
||||||
-r{toxinidir}/requirements-test.txt
|
-r{toxinidir}/requirements-test.txt
|
||||||
commands = {env:COMMAND:python} setup.py test
|
|
||||||
|
|
Loading…
Reference in a new issue