[CI] Add other Travis Linux builds to buildkite (#13769)

This commit is contained in:
Simon Mo
2021-01-29 15:48:02 -08:00
committed by GitHub
parent 194656731d
commit a3796b3ed5
6 changed files with 117 additions and 32 deletions
+10
View File
@@ -16,6 +16,16 @@ pushd "$ROOT_DIR"
mvn -T16 checkstyle:check
popd
on_exit() {
exit_code=$?
if [ $exit_code -ne 0 ]; then
echo "Exit trap, printing ray logs"
cat /tmp/ray/session_latest/logs/*
fi
}
trap on_exit EXIT
run_testng() {
local exit_code
if "$@"; then