summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml19
1 files changed, 13 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index 2fad49f3..8ead3468 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -33,16 +33,16 @@ 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
@@ -121,8 +121,9 @@ matrix:
- sudo -E su $USER -c 'sbuild --nolog --no-run-lintian --verbose --dist=xenial cloud-init_*.dsc'
# Ubuntu LTS: Integration
- 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)"
+ - name: "Integration Tests"
if: NOT branch =~ /^ubuntu\//
+ env: {}
cache:
- directories:
- lxd_images
@@ -220,3 +221,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