From ef0c1d71b7f4f08fb1fe35e5d2ca53ee0b4c1de7 Mon Sep 17 00:00:00 2001 From: Thor77 Date: Sun, 8 May 2016 19:55:40 +0200 Subject: [PATCH] use travis for testing --- .travis.yml | 25 +++++++++++++++++++++++++ README.md | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..eba509e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,25 @@ +language: python +python: + - 2.7 + - 3.5 + +matrix: + include: + - python: 2.7 + install: + - pip install pyflakes + - pip install isort + script: + - pyflakes **/*.py + - isort -c **/*.py + +install: + - pip install -r requirements.txt + - pip install -r testing_requirements.txt + - pip install coverage + +script: nosetests --with-coverage + +after_success: + - pip install coveralls + - coveralls diff --git a/README.md b/README.md index 055f706..89195a7 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# TeamspeakStats [![Build Status](https://drone.io/github.com/Thor77/TeamspeakStats/status.png)](https://drone.io/github.com/Thor77/TeamspeakStats/latest) [![Coverage Status](https://coveralls.io/repos/Thor77/TeamspeakStats/badge.svg?branch=master&service=github)](https://coveralls.io/github/Thor77/TeamspeakStats?branch=master) +# TeamspeakStats [![Build Status](https://travis-ci.org/Thor77/TeamspeakStats.svg?branch=master)](https://travis-ci.org/Thor77/TeamspeakStats) [![Coverage Status](https://coveralls.io/repos/Thor77/TeamspeakStats/badge.svg?branch=master&service=github)](https://coveralls.io/github/Thor77/TeamspeakStats?branch=master) A simple Teamspeak stat-generator - based on server-logs # Installation