2014-02-14 13:03:29 +01:00
|
|
|
language: python
|
2015-01-28 10:42:10 +01:00
|
|
|
|
2015-08-26 12:03:22 +02:00
|
|
|
# Use container-based infrastructure
|
|
|
|
sudo: false
|
|
|
|
|
2015-01-28 10:42:10 +01:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- env: TOXENV=py27-dj17-postgres
|
|
|
|
- env: TOXENV=py27-dj17-sqlite
|
2015-02-23 13:44:13 +01:00
|
|
|
- env: TOXENV=py27-dj17-mysql
|
2015-01-28 10:43:50 +01:00
|
|
|
- env: TOXENV=py33-dj17-postgres
|
2015-01-28 10:42:10 +01:00
|
|
|
- env: TOXENV=py34-dj17-postgres
|
|
|
|
- env: TOXENV=py34-dj17-sqlite
|
2015-03-27 10:28:27 +01:00
|
|
|
- env: TOXENV=py34-dj17-mysql
|
2015-01-28 10:42:10 +01:00
|
|
|
- env: TOXENV=py27-dj18-postgres
|
2015-02-23 13:44:13 +01:00
|
|
|
# - env: TOXENV=py27-dj18-mysql
|
2015-01-28 10:42:10 +01:00
|
|
|
# - env: TOXENV=py27-dj18-sqlite
|
|
|
|
# - env: TOXENV=py33-dj18-postgres
|
|
|
|
- env: TOXENV=py34-dj18-postgres
|
|
|
|
- env: TOXENV=py34-dj18-sqlite
|
2015-03-27 10:28:27 +01:00
|
|
|
- env: TOXENV=py34-dj18-mysql
|
2015-09-16 05:50:12 +02:00
|
|
|
- env: TOXENV=py35-dj18-postgres
|
|
|
|
python: 3.5
|
|
|
|
- env: TOXENV=py35-dj18-sqlite
|
|
|
|
python: 3.5
|
|
|
|
- env: TOXENV=py35-dj18-mysql
|
|
|
|
python: 3.5
|
|
|
|
allow_failures:
|
|
|
|
- python: 3.5
|
2014-07-28 16:01:21 +02:00
|
|
|
|
2014-02-14 13:03:29 +01:00
|
|
|
# Services
|
|
|
|
services:
|
|
|
|
- elasticsearch
|
2014-07-28 16:01:21 +02:00
|
|
|
|
2014-02-14 13:03:29 +01:00
|
|
|
# Package installation
|
2014-02-14 13:15:34 +01:00
|
|
|
install:
|
2014-07-28 16:01:21 +02:00
|
|
|
- pip install tox coveralls
|
|
|
|
|
2014-02-14 13:03:29 +01:00
|
|
|
# Pre-test configuration
|
|
|
|
before_script:
|
2014-02-14 13:26:44 +01:00
|
|
|
- psql -c 'create database wagtaildemo;' -U postgres
|
2015-03-30 11:26:25 +02:00
|
|
|
- mysql -e "SET GLOBAL wait_timeout = 36000;"
|
|
|
|
- mysql -e "SET GLOBAL max_allowed_packet = 134209536;"
|
2014-07-28 16:01:21 +02:00
|
|
|
|
2014-02-14 13:03:29 +01:00
|
|
|
# Run the tests
|
2014-02-17 17:30:39 +01:00
|
|
|
script:
|
2014-07-28 16:01:21 +02:00
|
|
|
tox
|
|
|
|
|
2014-02-17 17:30:39 +01:00
|
|
|
after_success:
|
|
|
|
coveralls
|
2014-07-28 16:01:21 +02:00
|
|
|
|
2014-02-14 13:03:29 +01:00
|
|
|
# Who to notify about build results
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
recipients:
|
|
|
|
- wagtail-ci@torchbox.com
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
2014-02-14 14:26:17 +01:00
|
|
|
webhooks:
|
|
|
|
urls:
|
2014-02-14 18:35:57 +01:00
|
|
|
- secure: "dQZBPlCC2OQE2L7EqOMkKsQxCJm05BhFrfmKmJ0AnKqxiEyZDKd2JiQaMg8X7XtIdJ87dlnBZH5h3erPSMgI3mIfNCWKKs/f6idgWIXPpklzU95KmPOrCoOyT3lkDTEOXCYXhgvOExp8qLHc4qjEWbSoIfPwqYyPlGry3Z76UBM="
|
2014-02-14 14:26:17 +01:00
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
2014-02-14 13:15:34 +01:00
|
|
|
|
2014-02-27 10:05:26 +01:00
|
|
|
# bump Travis: 1
|