mirror of
https://github.com/Hopiu/django-markdownx.git
synced 2026-03-16 21:40:24 +00:00
54 lines
1.2 KiB
YAML
54 lines
1.2 KiB
YAML
language: python
|
|
sudo: false
|
|
|
|
matrix:
|
|
include:
|
|
- python: 3.5
|
|
env: DJANGO=2.0.*
|
|
- python: 3.5
|
|
env: DJANGO=2.1.*
|
|
- python: 3.5
|
|
env: DJANGO=2.2.*
|
|
|
|
|
|
- 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.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.8
|
|
env: DJANGO=2.2.*
|
|
- python: 3.8
|
|
env: DJANGO=3.0.*
|
|
|
|
- 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
|