Install dependencies for travis more generally

This commit is contained in:
Gavin Bisesi 2014-06-25 11:48:48 -04:00
parent 2d400e55c7
commit bda01b2044
2 changed files with 10 additions and 3 deletions

9
travis-dependencies.sh Executable file
View file

@ -0,0 +1,9 @@
#!/bin/bash
if [[ $TRAVIS_OS_NAME == "osx" ]] ; then
brew update
brew install qt cmake protobuf
else
sudo apt-get update -qq
sudo apt-get install -y qtmobility-dev libprotobuf-dev protobuf-compiler libqt4-dev
fi