mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 01:07:42 +00:00
Merge pull request #3688 from rishwanth1995/appveyor_and_travis
reduced verbosity of travis log and added appveyor.yml
This commit is contained in:
commit
bdfa460d5d
@ -16,8 +16,11 @@ install:
|
||||
- sh install-sleuthkit.sh
|
||||
script:
|
||||
- set -e
|
||||
- echo "building autopsy..." && echo -en 'travis_fold:start:script.build\\r'
|
||||
- cd $TRAVIS_BUILD_DIR/
|
||||
- ant -q build > /dev/null
|
||||
- ant -q build
|
||||
- echo -en 'travis_fold:end:script.build\\r'
|
||||
- echo "testing autopsy..." && echo -en 'travis_fold:start:script.tests\\r'
|
||||
- cd Core/
|
||||
- xvfb-run ant -q test > /dev/null
|
||||
|
||||
- xvfb-run ant -q test
|
||||
- echo -en 'travis_fold:end:script.tests\\r'
|
||||
|
51
appveyor.yml
Normal file
51
appveyor.yml
Normal file
@ -0,0 +1,51 @@
|
||||
version: 4.6.0.{build}
|
||||
|
||||
cache:
|
||||
- C:\Users\appveyor\.ant -> appveyor.yml
|
||||
- C:\Users\appveyor\.ivy2 -> appveyor.yml
|
||||
- C:\ProgramData\chocolatey\bin -> appveyor.yml
|
||||
- C:\ProgramData\chocolatey\lib -> appveyor.yml
|
||||
|
||||
branches:
|
||||
only:
|
||||
- develop
|
||||
|
||||
image: Visual Studio 2015
|
||||
platform: x64
|
||||
init:
|
||||
- ps: choco install ant --ignore-dependencies
|
||||
- ps: $env:Path="C:\Program Files\Java\jdk1.8.0\bin;$($env:Path);C:\ProgramData\chocolatey\lib\ant"
|
||||
- set PATH=C:\Python36-x64\';%PATH%
|
||||
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: pushd C:\
|
||||
- git clone https://github.com/sleuthkit/sleuthkit
|
||||
- ps: popd
|
||||
services:
|
||||
- postgresql95
|
||||
|
||||
|
||||
build_script:
|
||||
- cd %TSK_HOME%
|
||||
- python setupLibs.py
|
||||
- python win32\updateBuildLibs.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
|
Loading…
x
Reference in New Issue
Block a user