Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit ea9fd82

Browse files
committed
chore(ci): force travis to print logs after driver provider timeout
Travis does not do the after_script step if before_script fails, so wait_for_browser_provider.sh was not printing out logs. Force it to print them manually.
1 parent 44337f6 commit ea9fd82

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/travis/wait_for_browser_provider.sh

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ while [ ! -f $BROWSER_PROVIDER_READY_FILE ]; do
99
let "counter++"
1010
if [ $counter -gt 240 ]; then
1111
echo "Timed out after 2 minutes waiting for browser provider ready file"
12+
# We must manually print logs here because travis will not run
13+
# after_script commands if the failure occurs before the script
14+
# phase.
15+
./print_logs.sh
1216
exit 5
1317
fi
1418
sleep .5

0 commit comments

Comments
 (0)