Travis: fix travis_run_in_fold (#1522)
It seems that when running travis_fold_end in case of a failure the Travis job will be marked as "errored", but not "failed". Ref: https://github.com/awesomeWM/awesome/pull/1516#issuecomment-277448575
This commit is contained in:
parent
c003f7ba78
commit
8ca08981b8
|
@ -130,10 +130,9 @@ install:
|
||||||
travis_run_in_fold() {
|
travis_run_in_fold() {
|
||||||
travis_fold_start "$1"
|
travis_fold_start "$1"
|
||||||
shift
|
shift
|
||||||
"$@"
|
"$@" || return
|
||||||
local result="$?"
|
|
||||||
travis_fold_end
|
travis_fold_end
|
||||||
return $result
|
return 0
|
||||||
}
|
}
|
||||||
script:
|
script:
|
||||||
- export CMAKE_ARGS="-DLUA_LIBRARY=${LUALIBRARY} -DLUA_INCLUDE_DIR=${LUAINCLUDE} -D OVERRIDE_VERSION=$AWESOME_VERSION -DSTRICT_TESTS=true"
|
- export CMAKE_ARGS="-DLUA_LIBRARY=${LUALIBRARY} -DLUA_INCLUDE_DIR=${LUAINCLUDE} -D OVERRIDE_VERSION=$AWESOME_VERSION -DSTRICT_TESTS=true"
|
||||||
|
|
Loading…
Reference in New Issue