ARIA-395 Fix AppVeyor failures due to use of SSL
Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/commit/ae89ddb3 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/ae89ddb3 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/ae89ddb3 Branch: refs/heads/ARIA-1-parser-test-suite Commit: ae89ddb3009fedc9f56448544a9a7d9dab0e4dd7 Parents: fae7186 Author: Tal Liron <tal.li...@gmail.com> Authored: Mon Oct 23 12:08:59 2017 -0500 Committer: Tal Liron <tal.li...@gmail.com> Committed: Mon Oct 30 15:43:46 2017 -0500 ---------------------------------------------------------------------- appveyor.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/ae89ddb3/appveyor.yml ---------------------------------------------------------------------- diff --git a/appveyor.yml b/appveyor.yml index a03b180..1158706 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -14,7 +14,6 @@ # limitations under the License. environment: - TOX_ENV: pywin matrix: @@ -26,16 +25,16 @@ build: false install: - SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH% - - ps: (new-object System.Net.WebClient).Downloadfile('https://bootstrap.pypa.io/get-pip.py', 'C:\Users\appveyor\get-pip.py') + # Note: bootstrap.pypa.io seems to have an SSL configuration problem causing downloads to fail, so we will instead get the script from GitHub + # -ps: (new-object System.Net.WebClient).Downloadfile('https://bootstrap.pypa.io/get-pip.py', 'C:\Users\Emblem Parade\Desktop\get-pip.py') + - ps: (new-object System.Net.WebClient).Downloadfile('https://github.com/pypa/get-pip/blob/master/get-pip.py', 'C:\Users\appveyor\get-pip.py') - ps: Start-Process -FilePath "C:\Python27\python.exe" -ArgumentList "C:\Users\appveyor\get-pip.py" -Wait -Passthru before_test: - pip install virtualenv --upgrade - virtualenv env - - 'env\Scripts\activate.bat' + - env\Scripts\activate.bat - pip install tox test_script: - - pip --version - - tox --version - tox -e %TOX_ENV%