summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2019-01-31 06:08:52 -0800
committerIan Stapleton Cordasco <graffatcolmingov@gmail.com>2019-01-31 08:08:52 -0600
commit72bf8cc9998c2e6af838b3bbae61a2d2a79fb809 (patch)
treed389268e4ad61b57f7b83691d3175fa29e00b917
parent4bc1f21df9d96b5dd1f5f3e213255b27f7104919 (diff)
downloadpyflakes-72bf8cc9998c2e6af838b3bbae61a2d2a79fb809.tar.gz
Fix appveyor build
-rw-r--r--.appveyor.yml38
1 files changed, 8 insertions, 30 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index f7d7aa2..0e05ec3 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -1,8 +1,6 @@
# To activate, change the Appveyor settings to use `.appveyor.yml`.
install:
- - ps: "[Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12"
-
- - python -m pip install --upgrade virtualenv pip setuptools tox
+ - python -m pip install --upgrade tox virtualenv
# Fetch the three main PyPy releases
- ps: (New-Object Net.WebClient).DownloadFile('https://bitbucket.org/pypy/pypy/downloads/pypy-2.6.1-win32.zip', "$env:appveyor_build_folder\pypy-2.6.1-win32.zip")
@@ -13,36 +11,16 @@ install:
- ps: 7z x pypy2-v5.3.1-win32.zip | Out-Null
- move pypy2-v5.3.1-win32 C:\
- # Note: pypy3-v5.10.0 is commented out as it needs an updated pip to
- # recognise the new python_requires, but there's a pypy bug preventing that.
- # It's been fixed and will be in the next 5.10.1 release.
- # See https://bitbucket.org/pypy/pypy/issues/2720/ensurepip-on-pypy-c-jit-93579-a4194a67868f
- # and https://stackoverflow.com/q/47999518/724176.
-
-# - ps: (New-Object Net.WebClient).DownloadFile('https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.0-win32.zip', "$env:appveyor_build_folder\pypy3-v5.10.0-win32.zip")
-# - ps: 7z x pypy3-v5.10.0-win32.zip | Out-Null
-# - move pypy3-v5.10.0-win32 C:\
-
- # workaround https://github.com/pypa/virtualenv/issues/93
- - mkdir C:\python33\tcl\tcl8.6
- - mkdir C:\python33\tcl\tk8.6
-# - mkdir C:\pypy3-v5.10.0-win32\tcl\tcl8.6
-# - mkdir C:\pypy3-v5.10.0-win32\tcl\tk8.6
-
- # Only pypy2-5.3.1 is integrated into tox, as pypy3-2.4.0 fails and
- # a Windows distribution of pypy3-5.2 isnt available yet.
- - ps: $env:path = "$env:path;C:\pypy2-v5.3.1-win32;C:\pypy-2.6.1-win32\bin"
-
- # pypy3-2.4.0 and pypy-2.6.1 are manually bootstrapped and tested
- - ps: (New-Object Net.WebClient).DownloadFile('https://bootstrap.pypa.io/get-pip.py', "$env:appveyor_build_folder\get-pip.py")
- # errors are ignored due to https://github.com/pypa/pip/issues/2669#issuecomment-136405390
-# - ps: C:\pypy3-v5.10.0-win32\pypy3 "$env:appveyor_build_folder\get-pip.py"; echo "ignore error"
-# - ps: C:\pypy3-v5.10.0-win32\pypy3 -m pip install -U --force-reinstall pip setuptools; echo "ignore error"
- - ps: C:\pypy-2.6.1-win32\pypy "$env:appveyor_build_folder\get-pip.py"
+ # TODO: pypy 6.0.0 offsets are different
+ #- ps: (New-Object Net.WebClient).DownloadFile('https://bitbucket.org/pypy/pypy/downloads/pypy3-v6.0.0-win32.zip', "$env:appveyor_build_folder\pypy3-v6.0.0-win32.zip")
+ #- ps: 7z x pypy3-v6.0.0-win32.zip | Out-Null
+ #- move pypy3-v6.0.0-win32 C:\
build: off
test_script:
- python -m tox
-# - C:\pypy3-v5.10.0-win32\pypy3 -m unittest discover pyflakes
- C:\pypy-2.6.1-win32\pypy -m unittest discover pyflakes
+ - C:\pypy2-v5.3.1-win32\pypy -m unittest discover pyflakes
+ # TODO: pypy 6.0.0 offsets are different
+ #- C:\pypy3-v6.0.0-win32\pypy3 -m unittest discover pyflakes