Skip to content

Commit

Permalink
Keep stdout busy
Browse files Browse the repository at this point in the history
  • Loading branch information
qmfrederik committed Oct 19, 2021
1 parent f7a9947 commit 813ec6e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 813ec6e

Please sign in to comment.