Skip to content

Commit 9e2272c

Browse files
committed
Keep stdout busy
1 parent c2504ca commit 9e2272c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,12 @@ install:
3939
- cat /proc/cpuinfo
4040

4141
script:
42+
# Ping stdout every 9 minutes to prevent Travis from terminating the buidl.
43+
- |
44+
while sleep 9m; do
45+
echo "====[ This job has been running for $SECONDS ]===="
46+
done &
4247
# Download the virtio-win iso
4348
- wget -nv -nc https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso -O ~/virtio-win.iso
44-
- export PACKER_LOG=1
4549
# See here https://github.com/travis-ci/travis-ci/issues/1839 for background on the sudo sudo command
4650
- sudo -E su $USER -c 'packer build --only=${PROVIDER} --var virtio_win_iso=~/virtio-win.iso --var memory_size=6144 --var disk_size=30720 ${TEMPLATE}.json'

0 commit comments

Comments
 (0)