-
Notifications
You must be signed in to change notification settings - Fork 596
/
appveyor.yml
48 lines (41 loc) · 1.17 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
version: 4.6.0.{build}
cache:
- C:\Users\appveyor\.ant
- C:\ProgramData\chocolatey\bin
- C:\ProgramData\chocolatey\lib
- '%APPVEYOR_BUILD_FOLDER%\Core\test\qa-functional\data'
image: Visual Studio 2015
platform: x64
environment:
global:
TSK_HOME: "C:\\sleuthkit"
JDK_HOME: "C:\\Program Files\\Java\\jdk13"
JAVA_HOME: "C:\\Program Files\\Java\\jdk13"
PYTHON: "C:\\Python36-x64"
install:
- ps: choco install nuget.commandline
- ps: choco install ant --ignore-dependencies
- ps: $env:Path="$($env:JAVA_HOME)\bin;$($env:Path);C:\ProgramData\chocolatey\lib\ant"
- set PATH=C:\Python36-x64\';%PATH%
- cd C:\
- git clone https://github.com/sleuthkit/sleuthkit
- cd %APPVEYOR_BUILD_FOLDER%
- python setupSleuthkitBranch.py
services:
- postgresql95
build_script:
- cd %TSK_HOME%
- nuget restore win32\libtsk -PackagesDirectory win32\packages
- python win32\updateAndBuildAll.py -m
- ps: pushd bindings/java
- ps: ant -version
- cmd: ant dist
- ps: popd
- ps: pushd case-uco/java
- cmd: ant -q
- ps: popd
- cd %APPVEYOR_BUILD_FOLDER%
- cmd: ant -q build
test_script:
- cd %APPVEYOR_BUILD_FOLDER%
- cmd: ant -q test-no-regression