django-ddp/.travis.yml
2015-12-28 00:55:05 +11:00

53 lines
1 KiB
YAML

# .travis.yml automatically generated by ".travis.yml.sh"
# Container-based builds used if "sudo: false" --> fast boot (1-6s)
# https://docs.travis-ci.com/user/ci-environment/
sudo: false
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "pypy"
- "pypy3"
env:
global:
- PGDATABASE="django_ddp_test_project"
- PGUSER="postgres"
matrix:
- DJANGO="1.8"
- DJANGO="1.9"
# Django 1.9 dropped support for Python 3.3
matrix:
exclude:
- python: "3.3"
env: DJANGO="1.9"
allow_failures:
- python: "3.3"
- python: "3.4"
- python: "3.5"
- python: "pypy"
- python: "pypy3"
services:
- postgresql
before_install:
- curl https://install.meteor.com/ | sh
install:
- pip install -U tox coveralls setuptools
before_script:
- env | sort
- psql -c "create database ${PGDATABASE};" postgres
script:
- PATH="$HOME/.meteor:$PATH" tox -vvvv -e $( echo $TRAVIS_PYTHON_VERSION | sed -e 's/^2\./py2/' -e 's/^3\./py3/' )-django${DJANGO}
after_success:
coveralls