Skip to content

Commit 9af8df9

Browse files
committed
Fix AppVeyor CI build: dead link and downgrade Py
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.
1 parent 832ab6c commit 9af8df9

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.appveyor.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
environment:
22
nodejs_version: "Stable"
33
matrix:
4-
# First group is 32 bit python 2.7
5-
- PYTHON: "C:\\Python27"
6-
PYTHON_VERSION: "2.7.9"
4+
# First group is 32 bit Python 2.7
5+
# There is a bug in 2.7.13, so downgrate to 2.7.12
6+
# http://bugs.python.org/issue29082
7+
- PYTHON: "C:\\Python27.12"
8+
PYTHON_VERSION: "2.7.12"
79
PYTHON_ARCH: "32"
10+
# Then 32 bit Python 3.4
811
PYTHON3: "C:\\Python34"
9-
PYTHON3_VERSION: "3.4.3"
12+
PYTHON3_VERSION: "3.4.4"
1013
PYTHON3_ARCH: "32"
1114
# Add custom environmental variables for pip
12-
PIP: C:\\Python27\Scripts\pip
15+
PIP: C:\\Python27.12\Scripts\pip
1316
PIP3: C:\\Python34\Scripts\pip
1417
# Add custom environmental variables to ensure 32 bit electron
1518
npm_config_arch: ia32
@@ -22,6 +25,9 @@ init:
2225
- cmd: ECHO Processor architecture - %PROCESSOR_ARCHITECTURE%
2326
- cmd: wmic OS get OSArchitecture
2427

28+
# Install 2.7.12 until 2.7.14 is released and integrated in AppVeyor
29+
- cmd: msiexec.exe /qn /i https://www.python.org/ftp/python/2.7.12/python-2.7.12.msi TARGETDIR=C:\Python27.12
30+
2531
# As AppVeyor has multiple python install, verify which ones will be used
2632
- cmd: ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%
2733
- cmd: "%PYTHON%\\python --version"
@@ -47,7 +53,7 @@ install:
4753
- cmd: git submodule update --init --recursive
4854

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

0 commit comments

Comments
 (0)