django-analytical/.travis.yml
Pi Delport 0a549c8ee6 Drop Python 3.3, add Python 3.7 and Django 2.1
This is a combination of 5 commits.

Commit message #1:

    Drop support for Python 3.3

    Setuptools and Tox no longer support or work on Python 3.3.

Commit message #2:

    Tox / Travis: Add Python 3.7 and Django 2.1

Commit message #3:

    Tox: Django 2.1 drops support for Python 3.4

Commit message #4:

    Travis: Add workaround for Python 3.7

    Upstream issue: https://github.com/travis-ci/travis-ci/issues/9815

Commit message #5:

    Travis: Enable pip caching
2018-08-22 15:50:32 +02:00

39 lines
1,017 B
YAML

language: python
cache: pip
python:
- 2.7
- 3.4
- 3.5
- 3.6
env:
- DJANGO=1.7
- DJANGO=1.8
- DJANGO=1.9
- DJANGO=1.10
- DJANGO=1.11
- DJANGO=2.0
- DJANGO=2.1
matrix:
exclude:
# Python/Django combinations that aren't officially supported
- { python: 3.5, env: DJANGO=1.7 }
- { python: 3.6, env: DJANGO=1.7 }
- { python: 3.6, env: DJANGO=1.8 }
- { python: 3.6, env: DJANGO=1.9 }
- { python: 3.6, env: DJANGO=1.10 }
- { python: 2.7, env: DJANGO=2.0 }
- { python: 2.7, env: DJANGO=2.1 }
- { python: 3.4, env: DJANGO=2.1 }
include:
- { python: 3.6, env: TOXENV=flake8 }
- { python: 3.6, env: TOXENV=readme }
# Work around Travis Python 3.7 issue: https://github.com/travis-ci/travis-ci/issues/9815
- { python: 3.7, env: DJANGO=1.11, dist: xenial, sudo: true }
- { python: 3.7, env: DJANGO=2.0, dist: xenial, sudo: true }
- { python: 3.7, env: DJANGO=2.1, dist: xenial, sudo: true }
install:
- pip install tox-travis
script:
- tox