From b4d6bfa4db53296bb20e8405f48cdc5b8ecfd28b Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Tue, 20 Sep 2016 19:53:10 +0200 Subject: [PATCH] Travis: fix codecov (#1105) tests/run.sh: no slash with --search lib Fixes https://github.com/awesomeWM/awesome/issues/1049. --- .travis.yml | 2 +- tests/run.sh | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 740dffcb7..f9b6e5e27 100644 --- a/.travis.yml +++ b/.travis.yml @@ -100,7 +100,7 @@ install: do_codecov() { if [ "$DO_COVERAGE" = "codecov" ]; then (cd build && luacov) || return 1 - travis_retry bash /tmp/codecov-bash -F "$1" || return 1 + travis_retry bash /tmp/codecov-bash -X coveragepy -c -F "$1" || return 1 rm build/luacov.stats.out fi return 0 diff --git a/tests/run.sh b/tests/run.sh index b04d62c6c..1b162560d 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -82,11 +82,10 @@ fi cd $build_dir -AWESOME_OPTIONS="$AWESOME_OPTIONS --search lib/" +AWESOME_OPTIONS="$AWESOME_OPTIONS --search lib" # Add test dir (for _runner.lua). AWESOME_OPTIONS="$AWESOME_OPTIONS --search $this_dir" -XDG_CONFIG_HOME="./" -export XDG_CONFIG_HOME +export XDG_CONFIG_HOME="./" cd - >/dev/null