Skip to content
Snippets Groups Projects
Commit c6b16d50 authored by rishwanth1995's avatar rishwanth1995
Browse files

added travis script

parent c6c8d5fa
No related branches found
No related tags found
No related merge requests found
......@@ -16,15 +16,11 @@ matrix:
- compiler: gcc
os: osx
before_install:
- if test ${TRAVIS_OS_NAME} = "linux"; then sudo apt-get install -y libewf-dev; fi
install:
- if test ${TRAVIS_OS_NAME} = "linux"; then sudo apt-get install -y libcppunit-dev; fi
- ./bootstrap
- ./install-sleuthkit.sh
script:
- ./configure && make && make check
- make check
- if test ${TRAVIS_OS_NAME} = "linux"; then cd release; ./release-unix.pl ci; fi
# NOTE: OS X doesn't have ant, so CI fails
#!/bin/sh
set -ex
if test ${TRAVIS_OS_NAME} = "linux"; then
sudo apt-get --qq update
sudo apt-get -y install libafflib-dev libewf-dev libpq-dev postgresql-9.5 libvhdi-dev libvmdk-dev libsqlite3-dev testdisk ant libcppunit-dev
fi
#if test ${TRAVIS_REPO_SLUG} = "sleuthkit/autopsy"; then
# git clone https://github.com/sleuthkit/sleuthkit
# cd sleuthkit
#fi
./bootstrap && ./configure --prefix=/usr && make
#cd /usr/share/java && sudo ln -s sleuthkit-4.6.0.jar sleuthkit-postgresql-4.6.0.jar
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment