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