From deb11fd4c410ca4dc9cac4bb57bfe10735273b29 Mon Sep 17 00:00:00 2001 From: ssut Date: Mon, 6 Jul 2015 14:22:01 +0900 Subject: [PATCH] Add coveralls script --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ee610f2..d0857e1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,5 +5,8 @@ python: - "pypy" install: - "pip install ." - - "pip install -r requirements.txt" -script: "python tests.py -v" + - "pip install coveralls" +before_script: + - "pip install -r requirements.txt --use-mirrors" +script: "coverage run --source=py-googletrans test.py -v" +after_success: "coveralls"