travis: Install qt4 with a brew tap
authorkoda
Wed, 01 Nov 2017 16:09:20 -0400
changeset 12821 be7f05f83f8e
parent 12820 92218a06c9ff
child 12822 b35b6978baa4
travis: Install qt4 with a brew tap
.travis.yml
--- a/.travis.yml	Wed Nov 01 20:52:06 2017 +0100
+++ b/.travis.yml	Wed Nov 01 16:09:20 2017 -0400
@@ -68,7 +68,10 @@
   if [ "$TRAVIS_OS_NAME" == "linux" ]; then
     sudo apt-get install -y debhelper cmake dpkg-dev libqt4-dev qt4-qmake libphysfs-dev libsdl2-dev libsdl2-ttf-dev libsdl2-mixer-dev libsdl2-image-dev libsdl2-net-dev bzip2 ghc libghc-mtl-dev libghc-parsec3-dev libghc-vector-dev libghc-zlib-dev libghc-random-dev libghc-stm-dev libghc-network-dev libghc-sandi-dev libghc-hslogger-dev libghc-utf8-string-dev libghc-sha-dev libghc-entropy-dev libghc-regex-tdfa-dev liblua5.1-0-dev imagemagick fpc fp-compiler fp-units-misc libpng-dev fp-units-gfx libavcodec-dev libavformat-dev libglew1.6-dev
   elif [ "$TRAVIS_OS_NAME" == "osx" ]; then
-    brew install fpc glew qt physfs lua51 sdl2 sdl2_image sdl2_net sdl2_ttf ffmpeg ghc cabal-install
+    brew tap cartr/qt4
+    brew tap-pin cartr/qt4
+    brew install qt@4
+    brew install fpc glew physfs lua51 sdl2 sdl2_image sdl2_net sdl2_ttf ffmpeg ghc cabal-install
     brew install sdl2_mixer --with-libvorbis
     # use cabal install haskell deps, pas2c ones are covered by server
     if [[ "$BUILD_ARGS" != *"NOSERVER"* ]]; then