From 813ec6eb44c49c259d2980018cc14067bc821a04 Mon Sep 17 00:00:00 2001 From: Frederik Carlier Date: Thu, 25 Jun 2020 14:31:39 +0200 Subject: [PATCH] Keep stdout busy --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ad88015f2..fd8b75d96 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,8 +39,12 @@ install: - cat /proc/cpuinfo script: +# Ping stdout every 9 minutes to prevent Travis from terminating the buidl. +- | + while sleep 9m; do + echo "====[ This job has been running for $SECONDS ]====" + done & # Download the virtio-win iso - wget -nv -nc https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso -O ~/virtio-win.iso -- export PACKER_LOG=1 # See here https://github.com/travis-ci/travis-ci/issues/1839 for background on the sudo sudo command - 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' \ No newline at end of file