forked from sleuthkit/autopsy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
83 lines (75 loc) · 1.63 KB
/
.travis.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
language: java
jobs:
include:
- os: linux
dist: bionic
- os: osx
osx_image: xcode12.2
env:
global:
- TSK_HOME=$TRAVIS_BUILD_DIR/sleuthkit/sleuthkit
addons:
apt:
update: true
packages:
- openjdk-17-jdk
- openjdk-17-jre
- build-essential
- autoconf
- libtool
- automake
- git
- zip
- wget
- ant
- libde265-dev
- libheif-dev
- libpq-dev
- testdisk
- libafflib-dev
- libewf-dev
- libvhdi-dev
- libvmdk-dev
- libgstreamer1.0-0
- gstreamer1.0-plugins-base
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-bad
- gstreamer1.0-plugins-ugly
- gstreamer1.0-libav
- gstreamer1.0-tools
- gstreamer1.0-x
- gstreamer1.0-alsa
- gstreamer1.0-gl
- gstreamer1.0-gtk3
- gstreamer1.0-qt5
- gstreamer1.0-pulseaudio
homebrew:
update: true
packages:
- openjdk@17
- ant
- automake
- libtool
- afflib
- libewf
- postgresql@15
- testdisk
- libheif
- gstreamer
python:
- 2.7
before_install:
- git clone https://github.com/sleuthkit/sleuthkit.git sleuthkit/sleuthkit
- python setupSleuthkitBranch.py
install:
- pushd sleuthkit/sleuthkit && ./travis_install_libs.sh && popd
before_script:
- if [ $TRAVIS_OS_NAME = linux ]; then
export PATH=/usr/bin:$PATH;
export JAVA_HOME=/usr/lib/jvm/java-1.17.0-openjdk-amd64;
fi
- if [ $TRAVIS_OS_NAME = osx ]; then
export JAVA_HOME=$(/usr/libexec/java_home -v 17);
fi
- java -version
script: ./travis_build.sh