-
Notifications
You must be signed in to change notification settings - Fork 7
/
appveyor.yml
61 lines (49 loc) · 1.71 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
48
49
50
51
52
53
54
55
56
57
58
59
60
environment:
matrix:
- VERSION: esr68
PYTHON: "C:\\Python27_64"
cache:
- C:\tmp\compactheader\ftp
install:
- ECHO "Filesystem root:"
- ps: "ls \"C:/\""
# Add Python to PATH
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "md c:\\opt"
- ps: Invoke-WebRequest -Uri https://download.sysinternals.com/files/Junction.zip -OutFile C:\Junction.zip; Expand-Archive c:\Junction.zip -dest c:\opt
- "SET PATH=c:\\opt;%PATH%"
- cmd: choco install wget
# Check if all required third party software is installed
- "python --version"
- "where python"
- "junction /?"
- "echo test >jtest"
- "junction -accepteula jtest2 jtest"
- "junction -d jtest2"
- "del jtest"
- "where junction"
- "unzip -v"
- "where unzip"
- "wget --version"
- "where wget"
- "sed --version"
- "where sed"
- "pip install wheel"
- "pip install bs4"
- "pip install requests"
- "pip install treeherder-client"
- ps: choco install ant --ignore-dependencies
# - wget -q --no-check-certificate https://www.us.apache.org/dist//ant/binaries/apache-ant-1.10.2-bin.zip
# - ps: Expand-Archive apache-ant-1.10.2-bin.zip -dest c:\
- set PATH=C:\Program Files\Java\jdk1.8.0;c:\apache-ant-1.10.2\bin;%PATH%
- "ant -h"
- "where ant"
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/set-screenresolution.ps1'))
- ps: Set-ScreenResolution 1920 1080
build: false # Not a C# project, build stuff at the test step instead.
test_script:
# Build the compiled extension and run the project tests
- ant buildAMO
- cd test
- if not %VERSION%==ESR ( python ./find_nightly_build.py --version %VERSION% )
- python ./executeTests.py --version %VERSION%