We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d885e7 commit 46f5096Copy full SHA for 46f5096
2 files changed
build/run-tests.sh
@@ -21,8 +21,12 @@ tns platform add android
21
find node_modules/ -iname '*.gz' -delete
22
23
wait "$EMULATOR_STARTER_PID"
24
-tns test android | tee test-output.txt
25
+# generate some output while running tests to prevent Travis from killing the build
26
+"$PROJECT_DIR/build/test-output-generator.sh" &
27
+OUTPUT_GENERATOR_PID=$!
28
+tns test android | tee test-output.txt
29
+kill $OUTPUT_GENERATOR_PID
30
if grep -q -E 'BUILD FAILED' test-output.txt ; then
31
echo "TEST BUILD FAILED!"
32
exit 1
build/test-output-generator.sh
@@ -0,0 +1,7 @@
1
+#!/bin/sh
2
+set -e
3
+
4
+while true; do
5
+ sleep 30
6
+ echo "Still running, sleeping another 30s."
7
+done
0 commit comments