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

added libvhdi and libvmdk to travis build

parent eb48ae6f
No related branches found
No related tags found
No related merge requests found
...@@ -16,6 +16,8 @@ matrix: ...@@ -16,6 +16,8 @@ matrix:
- compiler: gcc - compiler: gcc
os: osx os: osx
python:
- "2.7"
install: install:
- ./travis_build.sh - ./travis_build.sh
......
#!/bin/sh #!/bin/sh
set -ex 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 if test ${TRAVIS_OS_NAME} = "linux"; then
sudo apt-get -qq update 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 elif test ${TRAVIS_OS_NAME} = "osx"; then
brew install ant export PATH=${PATH}:/usr/local/opt/gettext/bin
brew install ant libewf gettext
fi fi
installLib libvhdi
installLib libvmdk
./bootstrap && ./configure --prefix=/usr && make > /dev/null ./bootstrap && ./configure --prefix=/usr && make > /dev/null
cd bindings/java/ && ant dist-PostgreSQL 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