mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-22 11:07:57 +01:00
34 lines
734 B
YAML
34 lines
734 B
YAML
# 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
|
|
install:
|
|
- python setup.py install
|
|
- pip install psycopg2 pyelasticsearch elasticutils
|
|
# Pre-test configuration
|
|
before_script:
|
|
- psql -c 'create database wagtaildemo;' -U postgres
|
|
# Run the tests
|
|
script: python runtests.py
|
|
# Who to notify about build results
|
|
notifications:
|
|
email:
|
|
recipients:
|
|
- wagtail-ci@torchbox.com
|
|
on_success: change
|
|
on_failure: always
|
|
webhooks:
|
|
urls:
|
|
- https://torchbox.slack.com/services/hooks/travis?token=Qs4aYF1Y5wJZAF797PKHShBI
|
|
on_success: change
|
|
on_failure: always
|
|
|