Skip to content
Snippets Groups Projects
Unverified Commit 6d2a2a55 authored by Brian Carrier's avatar Brian Carrier Committed by GitHub
Browse files

Merge pull request #1240 from rishwanth1995/travis_libvhdi_libvmdk

added libvhdi and libvmdk to travis build
parents f344cedd 37ed4c15
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,8 @@ matrix:
- compiler: gcc
os: osx
python:
- "2.7"
install:
- ./travis_build.sh
......
#!/bin/sh
set -ex
installLib() {
git clone https://github.com/libyal/$1
cd $1
./synclibs.sh
./autogen.sh
./configure && make > /dev/null && sudo make install > /dev/null
cd ..
}
if test ${TRAVIS_OS_NAME} = "linux"; then
sudo apt-get -qq update
sudo apt-get -y install libafflib-dev libewf-dev libpq-dev libsqlite3-dev ant libcppunit-dev
sudo apt-get -y install libafflib-dev libewf-dev libpq-dev autopoint libsqlite3-dev ant libcppunit-dev
elif test ${TRAVIS_OS_NAME} = "osx"; then
brew install ant
export PATH=${PATH}:/usr/local/opt/gettext/bin
brew install ant libewf gettext
fi
installLib libvhdi
installLib libvmdk
./bootstrap && ./configure --prefix=/usr && make > /dev/null
cd bindings/java/ && ant dist-PostgreSQL
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment