summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJames Falcon <TheRealFalcon@users.noreply.github.com>2021-04-15 10:20:04 -0500
committerGitHub <noreply@github.com>2021-04-15 10:20:04 -0500
commit0d90596b56db5d306125ead08c571fc8d44d528e (patch)
treef534590462cce32dbdf8c292430b438f03f17be7 /.travis.yml
parentcc16c9224681c9a60c2be5c52cff45aa17a8c010 (diff)
downloadcloud-init-git-0d90596b56db5d306125ead08c571fc8d44d528e.tar.gz
Emit dots on travis to avoid timeout (#867)
The current method of running a background sleep until travis is finished is causing integration test runs to pass even when they should be failing. Instead, update the code to emit dots itself.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml11
1 files changed, 1 insertions, 10 deletions
diff --git a/.travis.yml b/.travis.yml
index 690ab644..e112789a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -121,16 +121,7 @@ matrix:
# Use sudo to get a new shell where we're in the sbuild group
- sudo -E su $USER -c 'sbuild --nolog --no-run-lintian --verbose --dist=xenial cloud-init_*.dsc'
- ssh-keygen -P "" -q -f ~/.ssh/id_rsa
- - sg lxd -c 'CLOUD_INIT_CLOUD_INIT_SOURCE="$(ls *.deb)" tox -e integration-tests-ci' &
- - |
- SECONDS=0
- while [ -e /proc/$! ]; do
- if [ "$SECONDS" -gt "570" ]; then
- echo -n '.'
- SECONDS=0
- fi
- sleep 10
- done
+ - sg lxd -c 'CLOUD_INIT_CLOUD_INIT_SOURCE="$(ls *.deb)" tox -e integration-tests-ci'
- python: 3.5
env:
TOXENV=xenial