Initial Travis CI configuration to test the CI setup itself.

pull/46/head
Neal Todd 2014-02-14 12:03:29 +00:00
rodzic 3a1909be9f
commit 22e1f75684
1 zmienionych plików z 25 dodań i 0 usunięć

25
.travis.yml 100644
Wyświetl plik

@ -0,0 +1,25 @@
# 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
# Pre-test configuration
before_script:
- psql -c 'create database wagtaildemo_test;' -U postgres
# Run the tests
script: python runtest.py
# Who to notify about build results
notifications:
email:
recipients:
- wagtail-ci@torchbox.com
on_success: change
on_failure: always