Travis: fix codecov (#1105)
tests/run.sh: no slash with --search lib Fixes https://github.com/awesomeWM/awesome/issues/1049.
This commit is contained in:
parent
ffa7519730
commit
b4d6bfa4db
|
@ -100,7 +100,7 @@ install:
|
||||||
do_codecov() {
|
do_codecov() {
|
||||||
if [ "$DO_COVERAGE" = "codecov" ]; then
|
if [ "$DO_COVERAGE" = "codecov" ]; then
|
||||||
(cd build && luacov) || return 1
|
(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
|
rm build/luacov.stats.out
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
|
|
|
@ -82,11 +82,10 @@ fi
|
||||||
|
|
||||||
cd $build_dir
|
cd $build_dir
|
||||||
|
|
||||||
AWESOME_OPTIONS="$AWESOME_OPTIONS --search lib/"
|
AWESOME_OPTIONS="$AWESOME_OPTIONS --search lib"
|
||||||
# Add test dir (for _runner.lua).
|
# Add test dir (for _runner.lua).
|
||||||
AWESOME_OPTIONS="$AWESOME_OPTIONS --search $this_dir"
|
AWESOME_OPTIONS="$AWESOME_OPTIONS --search $this_dir"
|
||||||
XDG_CONFIG_HOME="./"
|
export XDG_CONFIG_HOME="./"
|
||||||
export XDG_CONFIG_HOME
|
|
||||||
|
|
||||||
cd - >/dev/null
|
cd - >/dev/null
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue