shippable.yml
# Config file for automatic testing at travis-ci.org
sudo: false
services: mysql
language: python
python:
- 2.7
- "pypy"
env:
matrix:
- DJANGO="1.7" DB="sqlite"
- DJANGO="1.7" DB="mysql"
- DJANGO="1.7" DB="postgresql"
- DJANGO="1.8" DB="sqlite"
- DJANGO="1.8" DB="mysql"
- DJANGO="1.8" DB="postgresql"
install:
- TOX_ENV=py${TRAVIS_PYTHON_VERSION}-django${DJANGO}-${DB}
- pip install tox
# Fix for PyPy and system packages
- tox -e $TOX_ENV -- pip install unittest-xml-reporting
- cp extras/shippable/myblog-${DB}.cfg ~/.myblog.cfg
- extras/shippable/before-install-common.sh
script: tox -e $TOX_ENV
after_script: tox -e $TOX_ENV -- coverage xml -o shippable/codecoverage/coverage.xml
matrix:
fast_finish: true
allow_failures:
# Zinnia 0.15 doesn't support Django 1.8
- python: "2.7"
env: DJANGO="1.8" DB="postgresql"
# 1215, 'Cannot add foreign key constraint'
- python: "pypy"
env: DJANGO="1.8" DB="mysql"
exclude:
# Python 3
- python: "3.2"
- python: "3.3"
- python: "3.4"
- python: "3.5"
# Get pure Python driver
- python: "pypy"
env: DJANGO="1.7" DB="postgresql"
- python: "pypy"
env: DJANGO="1.8" DB="postgresql"
notifications:
- integrationName: email
type: email
on_success: never
on_failure: never
on_pull_request: never