From 4ebb1a4d904cc019dc77a083be2735d26ec194bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Ole=C5=9B?= Date: Thu, 24 Sep 2015 16:03:11 +0200 Subject: [PATCH 1/2] Run py.test from solar dir --- run_tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run_tests.sh b/run_tests.sh index f5b7af01..a2769b9b 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -31,6 +31,6 @@ fi pip install -r solar/test-requirements.txt --download-cache=/tmp/$JOB_NAME -pushd solar/solar +pushd solar -PYTHONPATH=$WORKSPACE/solar CONFIG_FILE=$CONFIG_FILE py.test --cov=solar -s test/ +PYTHONPATH=$WORKSPACE/solar CONFIG_FILE=$CONFIG_FILE py.test --cov=solar -s solar From fe661ef1149af6f5519115bde1dca75a64f99c6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Ole=C5=9B?= Date: Thu, 24 Sep 2015 16:11:09 +0200 Subject: [PATCH 2/2] Run coveralls from solar dir --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 73ecf925..dde95b1f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,4 +7,4 @@ script: services: - redis-server after_success: - cd solar/solar && coveralls + cd solar && coveralls