diff options
author | Daniel Watkins <oddbloke@ubuntu.com> | 2019-12-18 12:36:58 -0500 |
---|---|---|
committer | Chad Smith <chad.smith@canonical.com> | 2019-12-18 10:36:58 -0700 |
commit | 8c96cbc1b6ec4c862e1fa36ef25ce56a00a1bfa6 (patch) | |
tree | dd8ff6eb3db34026b8ebe2a2f2c51486c02e3856 | |
parent | a1063b89e32fa698382bb9617632c0b5f206cdb4 (diff) | |
download | cloud-init-git-8c96cbc1b6ec4c862e1fa36ef25ce56a00a1bfa6.tar.gz |
ci: emit names of tests run in Travis (#120)
This makes it easier to debug differences in test behaviour between
Travis and local developer environments.
-rw-r--r-- | .travis.yml | 12 | ||||
-rw-r--r-- | tox.ini | 2 |
2 files changed, 11 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 834a5681..9efaad14 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,9 @@ matrix: fast_finish: true include: - python: 3.6 - env: TOXENV=py3 + env: + TOXENV=py3 + NOSE_VERBOSE=2 # List all tests run by nose - install: - git fetch --unshallow - sudo apt-get build-dep -y cloud-init @@ -42,9 +44,13 @@ matrix: # 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' - python: 2.7 - env: TOXENV=py27 + env: + TOXENV=py27 + NOSE_VERBOSE=2 # List all tests run by nose - python: 3.4 - env: TOXENV=xenial + env: + TOXENV=xenial + NOSE_VERBOSE=2 # List all tests run by nose # Travis doesn't support Python 3.4 on bionic, so use xenial dist: xenial - python: 3.6 @@ -6,6 +6,8 @@ recreate = True commands = python -m nose {posargs:tests/unittests cloudinit} setenv = LC_ALL = en_US.utf-8 +passenv= + NOSE_VERBOSE [testenv:pycodestyle] basepython = python3 |