Don't need X for android builds

This commit is contained in:
Leith Bade
2014-12-12 09:49:06 +11:00
parent 76909d18fb
commit 80016cd469
3 changed files with 16 additions and 12 deletions

View File

@@ -3,7 +3,9 @@
if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start
if [[ ${MASON_PLATFORM} != "android" ]]; then
sh -e /etc/init.d/xvfb start
fi
# use g++ that supports c++11
if [[ ${CXX} == "g++" ]]; then