Add Travis CI support

To improve the code quality of binder, this commit adds support for continuous
integration by using Travis CI (https://travis-ci.org/).
This will ensure that every commit and every pull request will trigger test
runs of the tests included in binder, helping to avoid code with broken tests.
This commit is contained in:
Daniel Roschka 2015-03-29 21:05:23 +02:00
parent 0da5e9ba89
commit 1af0f6cd43
2 changed files with 13 additions and 0 deletions

11
.travis.yml Normal file
View File

@ -0,0 +1,11 @@
language: python
python:
- "2.7"
env:
- DJANGO="Django>=1.6,<1.7"
- DJANGO="Django>=1.7,<1.8"
install:
- pip install -q $DJANGO
- pip install -r requirements.txt
script:
- python manage.py test

View File

@ -1,5 +1,7 @@
# Binder #
[![Build Status](https://travis-ci.org/jforman/binder.svg?branch=master)](https://travis-ci.org/jforman/binder)
A Django web application for viewing and editing BIND DNS zone records.
Binder supports adding and deleting DNS records (and eventually editing in place). TSIG-authenticated transfers and updates are supported.