diff options
author | Brad Warren <bmw@users.noreply.github.com> | 2019-07-02 20:02:00 +0300 |
---|---|---|
committer | Joona Hoikkala <joohoi@users.noreply.github.com> | 2019-07-02 20:02:00 +0300 |
commit | 3e872627d8dd5c8406ca6d5c3964ed295c7e1f60 (patch) | |
tree | cbbc1f243422d8200726e3a4d1d7570bad06282f /.travis.yml | |
parent | 76b7eb06284c07566d696acde8b329af7b66a906 (diff) |
Pin/upgrade virtualenv in our tests (#7211)
* Update virtualenv to the latest version.
* Use venv from pip and pin more packages.
* Pin codecov.
* update appveyor config
* Write the path separator backwards.
* s/pip_install.py install/pip_install.py
* Prefix tools\\pip_install.py with python exe.
* Upgrade py to fix AppVeyor failures.
* add back comment
* Update virtualenv with CERTBOT_NO_PIN.
* Pass -U to upgrade tox and deps.
* Upgrade virtualenv.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 66ef5ebb1..86a475ca8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -257,7 +257,6 @@ addons: apt: packages: # Keep in sync with letsencrypt-auto-source/pieces/bootstrappers/deb_common.sh and Boulder. - python-dev - - python-virtualenv - gcc - libaugeas0 - libssl-dev @@ -267,7 +266,12 @@ addons: - nginx-light - openssl -install: "$(command -v pip || command -v pip3) install codecov tox" +# tools/pip_install.py is used to pin packages to a known working version +# except in tests where the environment variable CERTBOT_NO_PIN is set. +# virtualenv is listed here explicitly to make sure it is upgraded when +# CERTBOT_NO_PIN is set to work around failures we've seen when using an older +# version of virtualenv. +install: "tools/pip_install.py -U codecov tox virtualenv" script: tox after_success: '[ "$TOXENV" == "py27-cover" ] && codecov -F linux' |