aboutsummaryrefslogtreecommitdiff
path: root/util/travis/before_install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'util/travis/before_install.sh')
-rwxr-xr-xutil/travis/before_install.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/travis/before_install.sh b/util/travis/before_install.sh
index 891371984..ea85b3db6 100755
--- a/util/travis/before_install.sh
+++ b/util/travis/before_install.sh
@@ -18,6 +18,9 @@ if [[ $PLATFORM == "Unix" ]]; then
# Linking to LevelDB is broken, use a custom build
wget http://minetest.kitsunemimi.pw/libleveldb-1.18-ubuntu12.04.7z
sudo 7z x -o/usr libleveldb-1.18-ubuntu12.04.7z
+ if [[ "$VALGRIND" == "1" ]]; then
+ sudo apt-get install valgrind
+ fi
else
brew update
brew install freetype gettext hiredis irrlicht jpeg leveldb libogg libvorbis luajit