forked from DataDog/dd-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
35 lines (35 loc) · 1.29 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
version: '{branch}.{build}'
shallow_clone: true
environment:
TRAVIS_BUILD_DIR: c:\projects\dd-agent
INTEGRATIONS_DIR: c:\projects\dd-agent\embedded
PIP_CACHE: c:\projects\dd-agent\.cache\pip
VOLATILE_DIR: c:\projects
NOSE_FILTER: windows
FLAVORS: windows
COVERAGE: true
PYWIN_PATH: C:\projects\dd-agent\.cache\pywin32-py2.7.exe
matrix:
- PYTHON: C:\\Python27
PYTHON_VERSION: 2.7.9
PYTHON_ARCH: 32
PYWIN32_URL: https://downloads.sourceforge.net/project/pywin32/pywin32/Build%20219/pywin32-219.win32-py2.7.exe
- PYTHON: C:\\Python27-x64
PYTHON_VERSION: 2.7.9
PYTHON_ARCH: 64
PYWIN32_URL: http://sourceforge.net/projects/pywin32/files/pywin32/Build%20219/pywin32-219.win-amd64-py2.7.exe/download
cache:
- C:\projects\dd-agent\.cache
- C:\projects\dd-agent\vendor\cache
- C:\projects\dd-agent\embedded
install:
- gem install bundler --quiet --no-ri --no-rdoc
- bundle install
- bundle package
- if not exist %PIP_CACHE% mkdir %PIP_CACHE%
- ps: If (-Not (Test-Path $env:PYWIN_PATH)) {(new-object net.webclient).DownloadFile("$env:PYWIN32_URL", "$env:PYWIN_PATH")}
- "%PYTHON%/Scripts/easy_install.exe %PYWIN_PATH%"
build: off
test_script:
- set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%
- bundle exec rake ci:run[%FLAVORS%]