2013-11-26 18:20:19 +00:00
|
|
|
language: python
|
|
|
|
|
2016-09-22 10:15:34 +00:00
|
|
|
python:
|
|
|
|
- "2.6"
|
|
|
|
- "2.7"
|
|
|
|
- "3.3"
|
|
|
|
- "3.4"
|
|
|
|
- "3.5"
|
2017-05-10 09:54:52 +00:00
|
|
|
- "3.6"
|
2016-09-22 10:15:34 +00:00
|
|
|
env:
|
2017-01-02 02:44:16 +00:00
|
|
|
- DJANGO_VERSION='Django>=1.4,<1.5'
|
|
|
|
- DJANGO_VERSION='Django>=1.5,<1.6'
|
|
|
|
- DJANGO_VERSION='Django>=1.6,<1.7'
|
|
|
|
- DJANGO_VERSION='Django>=1.7,<1.8'
|
|
|
|
- DJANGO_VERSION='Django>=1.8,<1.9'
|
|
|
|
- DJANGO_VERSION='Django>=1.9,<1.10'
|
|
|
|
- DJANGO_VERSION='Django>=1.10,<1.11'
|
2017-05-10 04:15:40 +00:00
|
|
|
- DJANGO_VERSION='Django>=1.11,<2.0'
|
2017-01-02 02:44:16 +00:00
|
|
|
- DJANGO_VERSION='https://github.com/django/django/archive/master.tar.gz'
|
2016-09-22 10:15:34 +00:00
|
|
|
matrix:
|
|
|
|
exclude:
|
|
|
|
- python: "2.6"
|
2017-01-02 02:44:16 +00:00
|
|
|
env: DJANGO_VERSION='Django>=1.7,<1.8'
|
2016-09-22 10:15:34 +00:00
|
|
|
- python: "2.6"
|
2017-01-02 02:44:16 +00:00
|
|
|
env: DJANGO_VERSION='Django>=1.8,<1.9'
|
2016-09-22 10:15:34 +00:00
|
|
|
- python: "2.6"
|
2017-01-02 02:44:16 +00:00
|
|
|
env: DJANGO_VERSION='Django>=1.9,<1.10'
|
2016-09-22 10:15:34 +00:00
|
|
|
- python: "2.6"
|
2017-01-02 02:44:16 +00:00
|
|
|
env: DJANGO_VERSION='Django>=1.10,<1.11'
|
|
|
|
- python: "2.6"
|
2017-05-10 04:15:40 +00:00
|
|
|
env: DJANGO_VERSION='Django>=1.11,<2.0'
|
|
|
|
- python: "2.6"
|
|
|
|
env: DJANGO_VERSION='https://github.com/django/django/archive/master.tar.gz'
|
|
|
|
- python: "2.7"
|
2017-01-02 02:44:16 +00:00
|
|
|
env: DJANGO_VERSION='https://github.com/django/django/archive/master.tar.gz'
|
2016-09-22 10:15:34 +00:00
|
|
|
- python: "3.3"
|
2017-01-02 02:44:16 +00:00
|
|
|
env: DJANGO_VERSION='Django>=1.4,<1.5'
|
|
|
|
- python: "3.3"
|
|
|
|
env: DJANGO_VERSION='Django>=1.5,<1.6'
|
|
|
|
- python: "3.3"
|
|
|
|
env: DJANGO_VERSION='Django>=1.9,<1.10'
|
|
|
|
- python: "3.3"
|
|
|
|
env: DJANGO_VERSION='Django>=1.10,<1.11'
|
2017-05-10 04:15:40 +00:00
|
|
|
- python: "3.3"
|
|
|
|
env: DJANGO_VERSION='Django>=1.11,<2.0'
|
2016-09-22 10:15:34 +00:00
|
|
|
- python: "3.3"
|
2017-01-02 02:44:16 +00:00
|
|
|
env: DJANGO_VERSION='https://github.com/django/django/archive/master.tar.gz'
|
2016-09-22 10:15:34 +00:00
|
|
|
- python: "3.4"
|
2017-01-02 02:44:16 +00:00
|
|
|
env: DJANGO_VERSION='Django>=1.4,<1.5'
|
|
|
|
- python: "3.4"
|
|
|
|
env: DJANGO_VERSION='Django>=1.5,<1.6'
|
2016-09-22 10:15:34 +00:00
|
|
|
- python: "3.4"
|
2017-01-02 02:44:16 +00:00
|
|
|
env: DJANGO_VERSION='Django>=1.6,<1.7'
|
2017-05-10 04:15:40 +00:00
|
|
|
- python: "3.4"
|
|
|
|
env: DJANGO_VERSION='https://github.com/django/django/archive/master.tar.gz'
|
2016-09-22 10:15:34 +00:00
|
|
|
- python: "3.5"
|
2017-01-02 02:44:16 +00:00
|
|
|
env: DJANGO_VERSION='Django>=1.4,<1.5'
|
2016-09-22 10:15:34 +00:00
|
|
|
- python: "3.5"
|
2017-01-02 02:44:16 +00:00
|
|
|
env: DJANGO_VERSION='Django>=1.5,<1.6'
|
|
|
|
- python: "3.5"
|
|
|
|
env: DJANGO_VERSION='Django>=1.6,<1.7'
|
|
|
|
- python: "3.5"
|
|
|
|
env: DJANGO_VERSION='Django>=1.7,<1.8'
|
2017-05-10 09:54:52 +00:00
|
|
|
- python: "3.6"
|
|
|
|
env: DJANGO_VERSION='Django>=1.4,<1.5'
|
|
|
|
- python: "3.6"
|
|
|
|
env: DJANGO_VERSION='Django>=1.5,<1.6'
|
|
|
|
- python: "3.6"
|
|
|
|
env: DJANGO_VERSION='Django>=1.6,<1.7'
|
|
|
|
- python: "3.6"
|
|
|
|
env: DJANGO_VERSION='Django>=1.7,<1.8'
|
|
|
|
- python: "3.6"
|
|
|
|
env: DJANGO_VERSION='Django>=1.8,<1.9'
|
|
|
|
- python: "3.6"
|
|
|
|
env: DJANGO_VERSION='Django>=1.9,<1.10'
|
|
|
|
- python: "3.6"
|
|
|
|
env: DJANGO_VERSION='Django>=1.10,<1.11'
|
2017-01-02 02:44:16 +00:00
|
|
|
allow_failures:
|
|
|
|
- env: DJANGO_VERSION='https://github.com/django/django/archive/master.tar.gz'
|
2016-09-22 10:15:34 +00:00
|
|
|
|
2013-11-26 18:20:19 +00:00
|
|
|
install:
|
2017-01-02 02:44:16 +00:00
|
|
|
- pip install -q $DJANGO_VERSION
|
2017-01-02 03:18:34 +00:00
|
|
|
- pip install tox coveralls flake8
|
2013-11-26 18:20:19 +00:00
|
|
|
|
|
|
|
script:
|
|
|
|
- coverage erase
|
2017-01-02 03:18:34 +00:00
|
|
|
- if [[ $(python -c 'import sys; print("0" if sys.version_info < (2, 7) else "1")') == "1" ]]; then flake8 --ignore=E501; fi
|
2016-09-22 10:15:34 +00:00
|
|
|
- PYTHONPATH=. coverage run -p example/run_tests.py
|
|
|
|
- PYTHONPATH=. coverage run -p example/run_tests.py example.settings_no_debug
|
2013-11-26 18:20:19 +00:00
|
|
|
after_success:
|
|
|
|
- coverage combine
|
|
|
|
- coveralls
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
- goinnn@gmail.com
|
2016-09-22 10:15:34 +00:00
|
|
|
- blag@users.noreply.github.com
|