diff options
author | Daniel Watkins <oddbloke@ubuntu.com> | 2020-12-17 16:35:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-17 16:35:19 -0500 |
commit | ac17c6a25ba5b7d13e1420329fdb74b29cfd58ae (patch) | |
tree | 42d969af382da786f33cf7322d4124d0d27120bf | |
parent | 0b932e55aa32e417b3ad5f2101acf6964108f0e0 (diff) | |
download | vyos-cloud-init-ac17c6a25ba5b7d13e1420329fdb74b29cfd58ae.tar.gz vyos-cloud-init-ac17c6a25ba5b7d13e1420329fdb74b29cfd58ae.zip |
.travis.yml: add (most) supported Python versions to CI (#734)
This excludes Python 3.4, as there are currently test failures there;
that will be addressed separately.
-rw-r--r-- | .travis.yml | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 2fad49f3..b64cea15 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,16 +33,18 @@ install: script: - tox +env: + TOXENV=py3 + PYTEST_ADDOPTS=-v # List all tests run by pytest + matrix: fast_finish: true allow_failures: - name: "Integration Tests (WIP)" include: - python: 3.6 - env: - TOXENV=py3 - PYTEST_ADDOPTS=-v # List all tests run by pytest - if: NOT branch =~ /^ubuntu\// + env: {} cache: - directories: - lxd_images @@ -123,6 +125,7 @@ matrix: - sg lxd -c 'tox -e citest -- run --verbose --preserve-data --data-dir results --os-name xenial --test modules/apt_configure_sources_list.yaml --test modules/ntp_servers --test modules/set_password_list --test modules/user_groups --deb cloud-init_*_all.deb' - name: "Integration Tests (WIP)" if: NOT branch =~ /^ubuntu\// + env: {} cache: - directories: - lxd_images @@ -220,3 +223,9 @@ matrix: env: TOXENV=pylint - python: 3.6 env: TOXENV=doc + # Test all supported Python versions (but at the end, so we schedule + # longer-running jobs first) + - python: 3.9 + - python: 3.8 + - python: 3.7 + - python: 3.5 |