Skip to content
This repository has been archived by the owner on Nov 18, 2023. It is now read-only.

Commit

Permalink
Added codecov support
Browse files Browse the repository at this point in the history
  • Loading branch information
not-na committed Apr 12, 2016
1 parent 392f52b commit 453eace
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .travis.yml
Expand Up @@ -6,7 +6,13 @@ cache:
directories:
- $HOME/.cache/pip

before_install:
- pip install codecov

script:
- "trial --reporter=text --rterrors packetmq.test.MemServerTestCase"
- "trial --reporter=text --rterrors packetmq.test.PacketRegistryTestCase"
- "trial --reporter=text --rterrors packetmq.test.TCPServerTestCase"

after_success:
- codecov
2 changes: 1 addition & 1 deletion packetmq/__init__.py
Expand Up @@ -206,7 +206,7 @@ def __init__(self,registry,proto=packetprotocol.PacketProtocol,factory=packetpro
def listen(self,port):
reactor.listenTCP(port,self.factory)
def runAsync(self):
self.thread = threading.Thread(name="Server thread",target=self.run)
self.thread = threading.Thread(name="Server thread",target=self.run,kwargs={"signalhandlers":0})
self.thread.daemon = True
self.thread.start()

Expand Down

0 comments on commit 453eace

Please sign in to comment.