Revert OS X / Windows changes for PyPI packages

This commit is contained in:
Florian Bruhin 2017-02-09 00:46:11 +01:00
parent 601110761d
commit c0c636c3eb
3 changed files with 17 additions and 39 deletions

View File

@ -21,20 +21,9 @@ matrix:
- os: linux - os: linux
env: DOCKER=ubuntu-xenial env: DOCKER=ubuntu-xenial
services: docker services: docker
- os: linux
language: python
python: 3.5
env: TESTENV=py35-pyqt571
- os: linux
language: python
python: 3.6
env: TESTENV=py36-pyqt571
- os: osx - os: osx
env: TESTENV=py36 OSX=elcapitan env: TESTENV=py36 OSX=elcapitan
osx_image: xcode7.3 osx_image: xcode7.3
- os: osx
env: TESTENV=py36-pyqt571 OSX=elcapitan
osx_image: xcode7.3
# https://github.com/qutebrowser/qutebrowser/issues/2013 # https://github.com/qutebrowser/qutebrowser/issues/2013
# - os: osx # - os: osx
# env: TESTENV=py35 OSX=yosemite # env: TESTENV=py35 OSX=yosemite

View File

@ -28,7 +28,6 @@ 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
@ -45,10 +44,6 @@ 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'
@ -73,10 +68,5 @@ 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')

View File

@ -93,13 +93,12 @@ elif [[ $TRAVIS_OS_NAME == osx ]]; then
sudo -H python get-pip.py sudo -H python get-pip.py
brew --version brew --version
brew_install python3 qt5 pyqt5
brew_install python3
[[ $TESTENV != *-pyqt* ]] && brew_install qt5 pyqt5 && check_pyqt
pip_install -r misc/requirements/requirements-tox.txt pip_install -r misc/requirements/requirements-tox.txt
pip --version pip --version
tox --version tox --version
check_pyqt
exit 0 exit 0
fi fi