From 1af0f6cd4388198130b1b638bdbd8311a26eef33 Mon Sep 17 00:00:00 2001 From: Daniel Roschka Date: Sun, 29 Mar 2015 21:05:23 +0200 Subject: [PATCH] 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. --- .travis.yml | 11 +++++++++++ README.markdown | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..b08ea74 --- /dev/null +++ b/.travis.yml @@ -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 \ No newline at end of file diff --git a/README.markdown b/README.markdown index 115f3ab..723fbe1 100644 --- a/README.markdown +++ b/README.markdown @@ -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.