mirror of
https://github.com/adulau/pdns-qof-server.git
synced 2024-11-21 09:37:06 +00:00
commit
bacc3862b0
3 changed files with 33 additions and 1 deletions
30
.travis.yml
Normal file
30
.travis.yml
Normal 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
|
|
@ -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
|
Passive DNS server interface
|
||||||
============================
|
============================
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ import sys
|
||||||
import signal
|
import signal
|
||||||
from ipaddress import ip_address
|
from ipaddress import ip_address
|
||||||
|
|
||||||
from .query import QueryRecords
|
from qos_server.query import QueryRecords
|
||||||
|
|
||||||
|
|
||||||
def handle_signal(sig, frame):
|
def handle_signal(sig, frame):
|
||||||
|
|
Loading…
Reference in a new issue