2014-02-14 12:03:29 +00:00
|
|
|
# Python releases to test
|
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- 2.7
|
|
|
|
# Django releases
|
|
|
|
env:
|
2014-03-12 09:45:45 +00:00
|
|
|
- DJANGO_VERSION=Django==1.6.2
|
2014-02-14 12:03:29 +00:00
|
|
|
# Services
|
|
|
|
services:
|
|
|
|
- redis-server
|
|
|
|
- elasticsearch
|
|
|
|
# Package installation
|
2014-02-14 12:15:34 +00:00
|
|
|
install:
|
|
|
|
- python setup.py install
|
2014-06-13 13:18:16 +00:00
|
|
|
- pip install psycopg2 pyelasticsearch elasticutils==0.8.2 wand embedly
|
2014-06-03 08:43:10 +00:00
|
|
|
- pip install 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
|
2014-02-14 12:03:29 +00:00
|
|
|
# Run the tests
|
2014-02-17 16:30:39 +00:00
|
|
|
script:
|
2014-02-23 17:23:28 +00:00
|
|
|
coverage run runtests.py
|
2014-02-17 16:30:39 +00:00
|
|
|
after_success:
|
|
|
|
coveralls
|
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
|