From 73b6a715eeb8a837d6528921a4ad00f7a1c7aa17 Mon Sep 17 00:00:00 2001 From: Yuri Kunde Schlesner Date: Fri, 10 Jul 2015 19:21:39 -0300 Subject: Travis: Remove use of sudo to enable use container-based builds --- .travis-build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '.travis-build.sh') diff --git a/.travis-build.sh b/.travis-build.sh index 8ec2ed70..22a3a9fd 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 -- cgit v1.2.3