django-markdownx/.travis.yml
Tim Graham e329abe50d Add testing for Django 2.1 (#127)
* Fix compatibility with pip 10+

* Fix Travis build failure on MacOS

Error: python 2.7.14 is already installed
To upgrade to 3.6.5, run `brew upgrade python`

* Add testing for Django 2.1
2018-08-29 18:43:47 +02:00

63 lines
1.4 KiB
YAML

language: python
sudo: false
matrix:
include:
- python: 2.7
env: DJANGO=1.8.*
- python: 2.7
env: DJANGO=1.9.*
- python: 2.7
env: DJANGO=1.10.*
- python: 2.7
env: DJANGO=1.11.*
- python: 3.4
env: DJANGO=1.8.*
- python: 3.4
env: DJANGO=1.9.*
- python: 3.4
env: DJANGO=1.10.*
- python: 3.4
env: DJANGO=1.11.*
- python: 3.5
env: DJANGO=1.8.*
- python: 3.5
env: DJANGO=1.9.*
- python: 3.5
env: DJANGO=1.10.*
- python: 3.5
env: DJANGO=1.11.*
- python: 3.6
env: DJANGO=1.8.*
- python: 3.6
env: DJANGO=1.9.*
- python: 3.6
env: DJANGO=1.10.*
- python: 3.6
env: DJANGO=1.11.*
- python: 3.6
env: DJANGO=2.0.*
- python: 3.6
env: DJANGO=2.1.*
- os: osx
language: generic
env: DJANGO=1.10.*
# Perform the manual steps on OSX to install Python3 and activate venv:
# Since Python versions have been tested on Linux and it is only a matter of
# system architecture, OSX tests will only run on one Python 3 + latest stable
# release for Django.
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then python3 -m venv env ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source env/bin/activate ; fi
install:
- python dev.py -no-container
- pip install -q Django==$DJANGO
- python setup.py install
script: python runtests.py