Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrien Ferrand <adferrand@users.noreply.github.com>2019-01-18 00:02:35 +0300
committerBrad Warren <bmw@users.noreply.github.com>2019-01-18 00:02:35 +0300
commit835f4b9271b7b5ee3cb3f54254a015e28f7bffdc (patch)
tree97f7078d3e700a8aad4e3992a31fa038bc96d5da /.travis.yml
parent6f388945cde7e6ec68a83378dea9c6122b86d2c9 (diff)
Allow to execute a tox target without pinned dependencies (#6590)
This PR passes the CERTBOT_NO_PIN environment variable to the unit tests tox envs. By setting CERTBOT_NO_PIN to 1 before executing a given tox env, certbot dependencies will be installed at their latest version instead of the usual pinned version. I also moved the unpin logic one layer below to allow it to be used potentially more widely, and avoid unnecessary merging constraints operation in this case. As warnings are errors now, latest versions of Python will break now the tests, because collections launch a warning when some classes are imported from collections instead of collections.abc. Certbot code is patched, and warning is ignored for now, because a lot of third party libraries still depend on this behavior. * Allow to execute a tox target without pinned dependencies * Correct lint * Retrigger build. * Remove debug code * Added test against unpinned dependencies from test-everything-unpinned-dependencies branch * Remove duplicated assertion to pass TRAVIS and APPVEYOR in default tox environment.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 38543845a..16cb6f23f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -63,6 +63,10 @@ matrix:
env: TOXENV=nginxroundtrip
# These environments are executed on cron events only
+ - python: "3.7"
+ dist: xenial
+ env: TOXENV=py37 CERTBOT_NO_PIN=1
+ if: type = cron
- python: "2.7"
env: BOULDER_INTEGRATION=v1 INTEGRATION_TEST=certbot TOXENV=py27-certbot-oldest
sudo: required