forked from sleuthkit/autopsy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
52 lines (46 loc) · 1.3 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
version: 4.6.0.{build}
cache:
- C:\Users\appveyor\.ant
- C:\ProgramData\chocolatey\bin
- C:\ProgramData\chocolatey\lib
- C:\libewf_64bit
- C:\libvhdi_64bit
- C:\libvmdk_64bit
- C:\zlib
- '%APPVEYOR_BUILD_FOLDER%\Core\test\qa-functional\data'
image: Visual Studio 2015
platform: x64
environment:
global:
TSK_HOME: "C:\\sleuthkit"
LIBVHDI_HOME: "C:\\libvhdi_64bit"
LIBVMDK_HOME: "C:\\libvmdk_64bit\\libvmdk"
LIBEWF_HOME: "C:\\libewf_64bit"
POSTGRESQL_HOME_64: "C:\\Program Files\\PostgreSQL\\9.5"
JDK_HOME: C:\Program Files\Java\jdk1.8.0
PYTHON: "C:\\Python36-x64"
install:
- ps: choco install ant --ignore-dependencies
- git clone https://github.com/sleuthkit/sleuthkit
- ps: $env:Path="C:\Program Files\Java\jdk1.8.0\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%
- python setupDevRepos.py
- python win32\updateAndBuildAll.py -m
- ps: pushd bindings/java
- ps: ant -version
- cmd: ant dist-PostgreSQL
- ps: popd
- cd %APPVEYOR_BUILD_FOLDER%
- cmd: ant -q build
- cd Core
- cmd: ant -q test
- cd ..
test: off