From fefe25f94102746daedbc904b19608291bc435d9 Mon Sep 17 00:00:00 2001 From: Sylvain Baubeau Date: Wed, 2 Dec 2015 15:28:11 +0100 Subject: [PATCH] Use Travis for pep8 and flake8 --- .travis.yml | 9 +++++++++ README.md | 2 ++ 2 files changed, 11 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..4f1ee33 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,9 @@ +language: python +python: + - '2.7' +install: + - pip install pep8 + - pip install flake8 +script: + - pep8 . + - flake8 . diff --git a/README.md b/README.md index 4793cfb..18476dc 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # docker-collectd-plugin +[![Build Status](https://travis-ci.org/lebauce/docker-collectd-plugin.svg?branch=master)](https://travis-ci.org/lebauce/docker-collectd-plugin) + A [Docker](http://docker.io) plugin for [collectd](http://collectd.org) using [docker-py](https://github.com/docker/docker-py) and collectd's [Python plugin](http://collectd.org/documentation/manpages/collectd-python.5.shtml).