Merge pull request #3 from Rafiot/travis

Add travis
This commit is contained in:
Alexandre Dulaunoy 2016-09-19 14:45:33 +02:00 committed by GitHub
commit bacc3862b0
3 changed files with 33 additions and 1 deletions

30
.travis.yml Normal file
View file

@ -0,0 +1,30 @@
language: python
cache: pip
services:
- redis-server
python:
- "3.3"
- "3.4"
- "3.5"
- "3.5-dev"
- "nightly"
install:
- pip install coveralls
- pip install codecov
- pip install .
script:
- coverage run --parallel-mode --source=qos_server qos_server/__init__.py &
- pid=$!
- sleep 5
- curl http://127.0.0.1:8888/query/www.microsoft.com
- curl http://127.0.0.1:8888/query/80.169.63.162
- kill -s INT $pid
after_success:
- codecov
- coveralls

View file

@ -1,3 +1,5 @@
[![Build Status](https://travis-ci.org/adulau/pdns-qof-server.svg?branch=master)](https://travis-ci.org/adulau/pdns-qof-server)
Passive DNS server interface
============================

View file

@ -26,7 +26,7 @@ import sys
import signal
from ipaddress import ip_address
from .query import QueryRecords
from qos_server.query import QueryRecords
def handle_signal(sig, frame):