Skip to content

Commit

Permalink
Fix AppVeyor CI build: dead link and downgrade Py
Browse files Browse the repository at this point in the history
Look like in March DropBox has changed their download links so the
link for py2exe has been dead since.
There is also a bug in Python 2.7.13 that affects one of the
pyserial scripts, so need to install and use an older version.
  • Loading branch information
carlosperate committed Apr 16, 2017
1 parent 832ab6c commit 9af8df9
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
environment:
nodejs_version: "Stable"
matrix:
# First group is 32 bit python 2.7
- PYTHON: "C:\\Python27"
PYTHON_VERSION: "2.7.9"
# First group is 32 bit Python 2.7
# There is a bug in 2.7.13, so downgrate to 2.7.12
# http://bugs.python.org/issue29082
- PYTHON: "C:\\Python27.12"
PYTHON_VERSION: "2.7.12"
PYTHON_ARCH: "32"
# Then 32 bit Python 3.4
PYTHON3: "C:\\Python34"
PYTHON3_VERSION: "3.4.3"
PYTHON3_VERSION: "3.4.4"
PYTHON3_ARCH: "32"
# Add custom environmental variables for pip
PIP: C:\\Python27\Scripts\pip
PIP: C:\\Python27.12\Scripts\pip
PIP3: C:\\Python34\Scripts\pip
# Add custom environmental variables to ensure 32 bit electron
npm_config_arch: ia32
Expand All @@ -22,6 +25,9 @@ init:
- cmd: ECHO Processor architecture - %PROCESSOR_ARCHITECTURE%
- cmd: wmic OS get OSArchitecture

# Install 2.7.12 until 2.7.14 is released and integrated in AppVeyor
- cmd: msiexec.exe /qn /i https://www.python.org/ftp/python/2.7.12/python-2.7.12.msi TARGETDIR=C:\Python27.12

# As AppVeyor has multiple python install, verify which ones will be used
- cmd: ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%
- cmd: "%PYTHON%\\python --version"
Expand All @@ -47,7 +53,7 @@ install:
- cmd: git submodule update --init --recursive

# Install Python packages
- cmd: "%PIP3% install https://dl.dropboxusercontent.com/u/74034/ardublockly-dep/win/py2exe-0.9.2.2-cp34-none-win32.whl"
- cmd: "%PIP3% install https://www.dropbox.com/s/7wfgus1op7ga9ni/py2exe-0.9.2.2-cp34-none-win32.whl?raw=1"
- cmd: "%PIP3% install mkdocs"
- cmd: "%PIP% install mock"
- cmd: "%PIP% freeze"
Expand Down

0 comments on commit 9af8df9

Please sign in to comment.