2014-02-14 13:03:29 +01: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 13:15:34 +01:00
|
|
|
install:
|
|
|
|
- python setup.py install
|
2014-02-14 13:37:30 +01:00
|
|
|
- pip install psycopg2 pyelasticsearch
|
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
|
2014-02-14 13:03:29 +01:00
|
|
|
# Run the tests
|
2014-02-14 13:08:42 +01:00
|
|
|
script: python runtests.py
|
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 13:15:34 +01:00
|
|
|
|