django-markdownx/.travis.yml
2021-12-27 11:37:29 +00:00

68 lines
1.5 KiB
YAML

language: python
sudo: false
matrix:
include:
- python: 3.6
env: DJANGO=2.0.*
- python: 3.6
env: DJANGO=2.1.*
- python: 3.6
env: DJANGO=2.2.*
- python: 3.6
env: DJANGO=3.0.*
- python: 3.6
env: DJANGO=3.1.*
- python: 3.7
env: DJANGO=2.0.*
- python: 3.7
env: DJANGO=2.1.*
- python: 3.7
env: DJANGO=2.2.*
- python: 3.7
env: DJANGO=3.0.*
- python: 3.7
env: DJANGO=3.1.*
- python: 3.8
env: DJANGO=2.2.*
- python: 3.8
env: DJANGO=3.0.*
- python: 3.8
env: DJANGO=3.1.*
- python: 3.8
env: DJANGO=3.2.*
- python: 3.9
env: DJANGO=3.1.*
- python: 3.9
env: DJANGO=3.2.*
- python: 3.9
env: DJANGO=4.0.*
- python: 3.10
env: DJANGO=3.1.*
- python: 3.10
env: DJANGO=3.2.*
- python: 3.10
env: DJANGO=4.0.*
- os: osx
language: generic
env: DJANGO=2.2.*
# 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