mirror of
https://github.com/Hopiu/django-markdownx.git
synced 2026-04-21 21:44:44 +00:00
61 lines
1.5 KiB
YAML
61 lines
1.5 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.*
|
|
|
|
- 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 brew update ; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install python3 ; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then virtualenv venv -p python3 ; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source venv/bin/activate ; fi
|
|
|
|
install:
|
|
- python dev.py -no-container
|
|
- pip install -q Django==$DJANGO
|
|
- python setup.py install
|
|
|
|
script: python runtests.py
|