summaryrefslogtreecommitdiffstats
path: root/.travis-build.sh
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-07-11 00:21:39 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-07-11 01:00:59 +0200
commit73b6a715eeb8a837d6528921a4ad00f7a1c7aa17 (patch)
tree6fea8104fe5165482f0fe7c8edaa019f1991eb82 /.travis-build.sh
parentMerge pull request #906 from aroulin/loader-format-specifier-warning (diff)
downloadyuzu-73b6a715eeb8a837d6528921a4ad00f7a1c7aa17.tar
yuzu-73b6a715eeb8a837d6528921a4ad00f7a1c7aa17.tar.gz
yuzu-73b6a715eeb8a837d6528921a4ad00f7a1c7aa17.tar.bz2
yuzu-73b6a715eeb8a837d6528921a4ad00f7a1c7aa17.tar.lz
yuzu-73b6a715eeb8a837d6528921a4ad00f7a1c7aa17.tar.xz
yuzu-73b6a715eeb8a837d6528921a4ad00f7a1c7aa17.tar.zst
yuzu-73b6a715eeb8a837d6528921a4ad00f7a1c7aa17.zip
Diffstat (limited to '.travis-build.sh')
-rwxr-xr-x.travis-build.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/.travis-build.sh b/.travis-build.sh
index 8ec2ed70c..22a3a9fd6 100755
--- a/.travis-build.sh
+++ b/.travis-build.sh
@@ -11,8 +11,12 @@ fi
#if OS is linux or is not set
if [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; then
+ export CC=gcc-4.9
+ export CXX=g++-4.9
+ export PKG_CONFIG_PATH=$HOME/.local/lib/pkgconfig:$PKG_CONFIG_PATH
+
mkdir build && cd build
- cmake -DUSE_QT5=OFF ..
+ cmake -DCITRA_FORCE_QT4=ON ..
make -j4
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
export Qt5_DIR=$(brew --prefix)/opt/qt5