Try PyPI envs on Appveyor
This commit is contained in:
parent
314ba53014
commit
4506575638
@ -7,6 +7,9 @@ environment:
|
|||||||
PYTHONUNBUFFERED: 1
|
PYTHONUNBUFFERED: 1
|
||||||
matrix:
|
matrix:
|
||||||
- TESTENV: py34
|
- TESTENV: py34
|
||||||
|
- TESTENV: py35-pyqt56
|
||||||
|
- TESTENV: py35-pyqt571
|
||||||
|
- TESTENV: py36-pyqt571
|
||||||
- TESTENV: unittests-frozen
|
- TESTENV: unittests-frozen
|
||||||
- TESTENV: pylint
|
- TESTENV: pylint
|
||||||
|
|
||||||
|
@ -28,6 +28,7 @@ CI machines.
|
|||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
|
import os
|
||||||
import time
|
import time
|
||||||
import subprocess
|
import subprocess
|
||||||
import urllib
|
import urllib
|
||||||
@ -44,6 +45,10 @@ def pip_install(pkg):
|
|||||||
pkg])
|
pkg])
|
||||||
|
|
||||||
|
|
||||||
|
using_pypi = '-pyqt' in os.environ['TESTENV']
|
||||||
|
|
||||||
|
|
||||||
|
if not using_pypi:
|
||||||
print("Getting PyQt5...")
|
print("Getting PyQt5...")
|
||||||
qt_version = '5.5.1'
|
qt_version = '5.5.1'
|
||||||
pyqt_version = '5.5.1'
|
pyqt_version = '5.5.1'
|
||||||
@ -68,5 +73,10 @@ pip_install(r'-rmisc\requirements\requirements-tox.txt')
|
|||||||
print("Linking Python...")
|
print("Linking Python...")
|
||||||
with open(r'C:\Windows\system32\python3.bat', 'w') as f:
|
with open(r'C:\Windows\system32\python3.bat', 'w') as f:
|
||||||
f.write(r'@C:\Python34\python %*')
|
f.write(r'@C:\Python34\python %*')
|
||||||
|
with open(r'C:\Windows\system32\python3.5.bat', 'w') as f:
|
||||||
|
f.write(r'@C:\Python35\python %*')
|
||||||
|
with open(r'C:\Windows\system32\python3.6.bat', 'w') as f:
|
||||||
|
f.write(r'@C:\Python36\python %*')
|
||||||
|
|
||||||
|
if not using_pypi:
|
||||||
check_setup(r'C:\Python34\python')
|
check_setup(r'C:\Python34\python')
|
||||||
|
Loading…
Reference in New Issue
Block a user