44 lines
1.5 KiB
YAML
44 lines
1.5 KiB
YAML
# Config file for automatic testing at travis-ci.org
|
|
|
|
language: python
|
|
|
|
python:
|
|
- 3.3
|
|
- 3.4
|
|
- 2.7
|
|
- 2.6
|
|
|
|
env:
|
|
matrix:
|
|
- DJANGO='django>=1.5,<1.6' NOSE_COVER_PACKAGE="djangocms_blog" NOSE_WITH_COVERAGE=1
|
|
- DJANGO='django>=1.6,<1.7' NOSE_COVER_PACKAGE="djangocms_blog" NOSE_WITH_COVERAGE=1
|
|
- DJANGO='django>=1.7,<1.8' NOSE_COVER_PACKAGE="djangocms_blog" NOSE_WITH_COVERAGE=1
|
|
|
|
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
|
|
install:
|
|
- pip install $DJANGO
|
|
- pip install -r requirements-test.txt
|
|
|
|
# command to run tests, e.g. python setup.py test
|
|
script: djangocms-helper djangocms_blog test --cms --nose-runner
|
|
|
|
after_success: coveralls
|
|
|
|
matrix:
|
|
exclude:
|
|
- python: 2.6
|
|
env: DJANGO='django>=1.7,<1.8' NOSE_COVER_PACKAGE="djangocms_blog" NOSE_WITH_COVERAGE=1
|
|
|
|
allow_failures:
|
|
- python: 3.3
|
|
env: DJANGO='django>=1.5,<1.6' NOSE_COVER_PACKAGE="djangocms_blog" NOSE_WITH_COVERAGE=1
|
|
- python: 3.3
|
|
env: DJANGO='django>=1.6,<1.7' NOSE_COVER_PACKAGE="djangocms_blog" NOSE_WITH_COVERAGE=1
|
|
- python: 3.3
|
|
end: DJANGO='django>=1.7,<1.8' NOSE_COVER_PACKAGE="djangocms_blog" NOSE_WITH_COVERAGE=1
|
|
- python: 3.4
|
|
env: DJANGO='django>=1.5,<1.6' NOSE_COVER_PACKAGE="djangocms_blog" NOSE_WITH_COVERAGE=1
|
|
- python: 3.4
|
|
env: DJANGO='django>=1.6,<1.7' NOSE_COVER_PACKAGE="djangocms_blog" NOSE_WITH_COVERAGE=1
|
|
- python: 3.4
|
|
env: DJANGO='django>=1.7,<1.8' NOSE_COVER_PACKAGE="djangocms_blog" NOSE_WITH_COVERAGE=1
|