summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorDaniel Watkins <oddbloke@ubuntu.com>2020-11-18 09:48:47 -0500
committerGitHub <noreply@github.com>2020-11-18 09:48:47 -0500
commitcd752df6154c403e6dccaf5e797c1d4f8396f756 (patch)
tree3f682661fa224146cab27e67edb0afa16a0bd5f9 /.travis.yml
parentf680114446a5a20ce88f3d10d966811a774c8e8f (diff)
downloadvyos-cloud-init-cd752df6154c403e6dccaf5e797c1d4f8396f756.tar.gz
vyos-cloud-init-cd752df6154c403e6dccaf5e797c1d4f8396f756.zip
only run a subset of integration tests in CI (#672)
This introduces the "ci" mark, used to indicate a test which should run as part of our CI integration testing run and the integration-tests-ci tox environment, which runs only those tests. Travis has been adjusted to use this tox environment. (All current module tests have been marked with the "ci" mark, but the one bug test that we have has not.)
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 496c1a81..6d25f477 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -199,7 +199,7 @@ matrix:
fi
# 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'
- - sg lxd -c 'CLOUD_INIT_IMAGE_SOURCE="$(ls *.deb)" tox -e integration-tests' &
+ - sg lxd -c 'CLOUD_INIT_IMAGE_SOURCE="$(ls *.deb)" tox -e integration-tests-ci' &
- |
SECONDS=0
while [ -e /proc/$! ]; do