From 95ed8a75764109dbce0389e0f918658296fdb0ea Mon Sep 17 00:00:00 2001 From: clowwindy Date: Thu, 11 Dec 2014 14:51:10 +0800 Subject: [PATCH] add coveralls --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 90ffbaa..7775c57 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ cache: before_install: - sudo apt-get update -qq - sudo apt-get install -qq build-essential libssl-dev swig python-m2crypto python-numpy dnsutils - - pip install m2crypto salsa20 pep8 pyflakes nose coverage + - pip install m2crypto salsa20 pep8 pyflakes nose coverage coveralls - sudo tests/socksify/install.sh - sudo tests/libsodium/install.sh script: @@ -35,3 +35,5 @@ script: - python tests/test.py --with-coverage -b "-m rc4-md5 -k testrc4 -s 127.0.0.1 -p 8388" -a "-m rc4-md5 -k testrc4 -s 127.0.0.1 -p 8388 -l 1081" - python tests/test.py --with-coverage -b "-m aes-256-cfb -k testrc4 -s 127.0.0.1 -p 8388" -a "-m aes-256-cfb -k testrc4 -s 127.0.0.1 -p 8388 -l 1081" - coverage combine && coverage report --include=shadowsocks/* +after_success: + - coveralls