mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 12:50:22 +00:00
24 lines
576 B
Bash
Executable File
24 lines
576 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
echo "Building TSK..."
|
|
cd sleuthkit/sleuthkit
|
|
./bootstrap && ./configure --prefix=/usr && make
|
|
pushd bindings/java && ant -q dist && popd
|
|
|
|
echo "Building Autopsy..." && echo -en 'travis_fold:start:script.build\\r'
|
|
cd $TRAVIS_BUILD_DIR/
|
|
ant -q build
|
|
echo -en 'travis_fold:end:script.build\\r'
|
|
|
|
echo "Testing Autopsy..." && echo -en 'travis_fold:start:script.tests\\r'
|
|
echo "Free Space:"
|
|
echo `df -h .`
|
|
|
|
if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
|
|
# if linux use xvfb
|
|
xvfb-run ant -q test-no-regression
|
|
fi
|
|
|
|
echo -en 'travis_fold:end:script.tests\\r'
|