equal
deleted
inserted
replaced
50 env: TRAVIS_OS_NAME="ios" SDL_LIB_PATH="$TRAVIS_BUILD_DIR/../Library" |
50 env: TRAVIS_OS_NAME="ios" SDL_LIB_PATH="$TRAVIS_BUILD_DIR/../Library" |
51 osx_image: xcode7.2 |
51 osx_image: xcode7.2 |
52 |
52 |
53 before_install: | |
53 before_install: | |
54 if [ "$TRAVIS_OS_NAME" == "linux" ]; then |
54 if [ "$TRAVIS_OS_NAME" == "linux" ]; then |
55 sudo add-apt-repository -y ppa:zoogie/sdl2-snapshots |
|
56 sudo apt-get update -qq |
55 sudo apt-get update -qq |
57 elif [ "$TRAVIS_OS_NAME" == "osx" ]; then |
56 elif [ "$TRAVIS_OS_NAME" == "osx" ]; then |
58 brew update --all |
57 brew update --all |
59 elif [ "$TRAVIS_OS_NAME" == "ios" ]; then |
58 elif [ "$TRAVIS_OS_NAME" == "ios" ]; then |
60 hg clone http://hg.libsdl.org/SDL $SDL_LIB_PATH/SDL/ |
59 hg clone http://hg.libsdl.org/SDL $SDL_LIB_PATH/SDL/ |
64 hg clone http://hg.libsdl.org/SDL_mixer $SDL_LIB_PATH/SDL_mixer/ |
63 hg clone http://hg.libsdl.org/SDL_mixer $SDL_LIB_PATH/SDL_mixer/ |
65 fi |
64 fi |
66 |
65 |
67 install: | |
66 install: | |
68 if [ "$TRAVIS_OS_NAME" == "linux" ]; then |
67 if [ "$TRAVIS_OS_NAME" == "linux" ]; then |
69 sudo apt-get install -y debhelper cmake dpkg-dev qtbase5-dev qtbase5-private-dev qttools5-dev-tools qttools5-dev libphysfs-dev libsdl2-dev libsdl2-ttf-dev libsdl2-mixer-dev libsdl2-image-dev libsdl2-net-dev bzip2 ghc libghc-mtl-dev libghc-vector-dev libghc-zlib-dev libghc-random-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 |
68 sudo apt-get install -y debhelper cmake dpkg-dev qtbase5-dev qtbase5-private-dev qttools5-dev-tools qttools5-dev libphysfs-dev libsdl2-dev libsdl2-ttf-dev libsdl2-mixer-dev libsdl2-image-dev libsdl2-net-dev bzip2 ghc libghc-mtl-dev libghc-vector-dev libghc-zlib-dev libghc-random-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 fpc fp-compiler fp-units-misc libpng-dev fp-units-gfx libavcodec-dev libavformat-dev libglew1.6-dev |
70 elif [ "$TRAVIS_OS_NAME" == "osx" ]; then |
69 elif [ "$TRAVIS_OS_NAME" == "osx" ]; then |
71 brew install qt5 |
70 brew install qt5 |
72 brew install fpc glew physfs lua51 sdl2 sdl2_image sdl2_net sdl2_ttf ffmpeg ghc cabal-install |
71 brew install fpc glew physfs lua51 sdl2 sdl2_image sdl2_net sdl2_ttf ffmpeg ghc cabal-install |
73 brew install sdl2_mixer --with-libvorbis |
72 brew install sdl2_mixer --with-libvorbis |
74 # use cabal install haskell deps, pas2c ones are covered by server |
73 # use cabal install haskell deps, pas2c ones are covered by server |