forked from swift-nav/piksi_tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
41 lines (34 loc) · 1.13 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
environment:
global:
# Wrapper to ensure extensions are build using the MSVC compiler matching
# the target Python version and architecture.
# SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
# /E:ON and /V:ON options are not enabled in the batch script intepreter
# See: http://stackoverflow.com/a/13751649/163740
CMD_IN_ENV: 'cmd /E:ON /V:ON /C .\tasks\run_with_env.cmd'
matrix:
- PYTHON: C:\Python27
PYTHON_VERSION: 2.7
PYTHON_ARCH: 32
cache:
# Cache downloaded pip packages and built wheels.
- '%LOCALAPPDATA%\pip\Cache\http'
- '%LOCALAPPDATA%\pip\Cache\wheels'
# Chocolatey packages
- C:\ProgramData\chocolatey\bin -> appveyor.yml
- C:\ProgramData\chocolatey\lib -> appveyor.yml
install:
- cinst swig
- cinst nsis
- SET PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%
- python --version
# Upgrade to the latest pip.
- '%CMD_IN_ENV% python -m pip install -U pip setuptools wheel tox'
- powershell .\\tasks\\missing-headers.ps1
- '%CMD_IN_ENV% python scripts\build_release.py'
build: off
artifacts:
- path: dist
name: swift_console
- path: dist
name: cmd_line