-
Notifications
You must be signed in to change notification settings - Fork 27
/
appveyor.yml
47 lines (32 loc) · 1.39 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
environment:
TOX_ENV: pywin
matrix:
- PYTHON: C:\Python27
PYTHON_VERSION: 2.7.8
PYTHON_ARCH: 32
# init:
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
install:
#################################
# Change Python Registry
#################################
- reg ADD HKCU\Software\Python\PythonCore\2.7\InstallPath /ve /d "C:\Python27" /t REG_SZ /f
- reg ADD HKLM\Software\Python\PythonCore\2.7\InstallPath /ve /d "C:\Python27" /t REG_SZ /f
#################################
# Installing Inno Setup
#################################
- choco install -y InnoSetup
- set PATH="C:\\Program Files (x86)\\Inno Setup 5";%PATH%
- SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%
- echo Upgrading pip...
- ps: (new-object System.Net.WebClient).Downloadfile('https://bootstrap.pypa.io/get-pip.py', 'C:\Users\appveyor\get-pip.py')
- ps: Start-Process -FilePath "C:\Python27\python.exe" -ArgumentList "C:\Users\appveyor\get-pip.py" -Wait -Passthru
- pip --version
build: false # Not a C# project, build stuff at the test step instead.
before_test:
- echo Installing tox
- pip install tox
# on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
test_script:
- tox -e %TOX_ENV%