use travis for testing

This commit is contained in:
Thor77 2016-05-08 19:55:40 +02:00
parent b06c63432a
commit ef0c1d71b7
2 changed files with 26 additions and 1 deletions

25
.travis.yml Normal file
View File

@ -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

View File

@ -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