2014-02-14 12:03:29 +00:00
|
|
|
# Python releases to test
|
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- 2.7
|
|
|
|
# Django releases
|
|
|
|
env:
|
|
|
|
- DJANGO_VERSION=Django==1.6.1
|
|
|
|
# Services
|
|
|
|
services:
|
|
|
|
- redis-server
|
|
|
|
- elasticsearch
|
|
|
|
# Package installation
|
2014-02-14 12:15:34 +00:00
|
|
|
install:
|
|
|
|
- python setup.py install
|
2014-02-14 12:37:30 +00:00
|
|
|
- pip install psycopg2 pyelasticsearch
|
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-14 12:08:42 +00:00
|
|
|
script: python runtests.py
|
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 12:15:34 +00:00
|
|
|
|