wagtail-modeltranslation/.travis.yml

57 lines
1.7 KiB
YAML
Raw Permalink Normal View History

language: python
python:
- "3.8"
env:
- WAGTAIL="wagtail>=2.7,<2.8" DB=sqlite
matrix:
include:
# Latest Wagtail version
- env: WAGTAIL="wagtail>=2.7,<2.8" DB=postgres
- env: WAGTAIL="wagtail>=2.7,<2.8" DB=mysql
- python: "3.8"
2019-09-05 12:54:47 +00:00
- python: "3.7"
2019-02-01 14:15:14 +00:00
- python: "3.6"
- python: "3.5"
# Past Wagtail versions
2019-09-05 12:54:47 +00:00
- python: "3.7"
env: WAGTAIL="wagtail>=2.6,<2.7"
- python: "3.7"
env: WAGTAIL="wagtail>=2.5,<2.6"
- python: "3.4" # Wagtail 2.5 was the last to support python 3.4
2019-09-05 12:54:47 +00:00
env: WAGTAIL="wagtail>=2.5,<2.6"
- python: "3.7"
env: WAGTAIL="wagtail>=2.4,<2.5"
- python: "3.7"
2019-02-01 14:15:14 +00:00
env: WAGTAIL="wagtail>=2.3,<2.4"
2019-09-05 12:54:47 +00:00
- python: "3.7"
2019-02-01 14:15:14 +00:00
env: WAGTAIL="wagtail>=2.2,<2.3"
2019-09-05 12:54:47 +00:00
- python: "3.7"
2019-02-01 14:15:14 +00:00
env: WAGTAIL="wagtail>=2.1,<2.2"
2019-09-05 12:54:47 +00:00
- python: "3.7"
2019-02-01 14:15:14 +00:00
env: WAGTAIL="wagtail>=2.0,<2.1"
2018-03-14 11:59:08 +00:00
- python: "2.7" # Wagtail 1.13 was the latest tested against 2.7
env: WAGTAIL="wagtail>=1.13,<1.14"
2019-09-05 12:54:47 +00:00
- python: "3.7"
2019-02-01 14:15:14 +00:00
env: WAGTAIL="wagtail>=1.13,<1.14"
- python: "2.7"
env: WAGTAIL="wagtail>=1.12,<1.13"
2019-09-05 12:54:47 +00:00
- python: "3.7"
2019-02-01 14:15:14 +00:00
env: WAGTAIL="wagtail>=1.12,<1.13"
2019-09-05 12:54:47 +00:00
services:
- mysql
- postgresql
addons:
postgresql: "9.4"
before_script:
- mysql -e 'create database wagtail_modeltranslation;'
- psql -c 'create database wagtail_modeltranslation;' -U postgres
install:
2017-03-06 11:42:32 +00:00
- pip install --upgrade -q pip setuptools
2018-01-06 12:15:29 +00:00
- if [[ $DB == mysql ]] && [[ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]]; then pip install -q mysql-python; elif [[ $DB == mysql ]] && [[ ${TRAVIS_PYTHON_VERSION:0:1} == "3" ]]; then pip install -q mysqlclient; fi
- if [[ $DB == postgres ]]; then pip install -q 'psycopg2-binary'; fi
- pip install $WAGTAIL
- pip install -e .
script:
- echo "DJANGO VERSION = `python -m django --version`"
- ./runtests.py