.travis.yml
changeset 15465 421da44ff218
parent 15458 f28016c508c0
equal deleted inserted replaced
15464:b9b48e8b5ec4 15465:421da44ff218
    72     brew install fpc glew physfs lua51 sdl2 sdl2_image sdl2_net sdl2_ttf ffmpeg ghc cabal-install
    72     brew install fpc glew physfs lua51 sdl2 sdl2_image sdl2_net sdl2_ttf ffmpeg ghc cabal-install
    73     brew install sdl2_mixer
    73     brew install sdl2_mixer
    74     # use cabal install haskell deps, pas2c ones are covered by server
    74     # use cabal install haskell deps, pas2c ones are covered by server
    75     if [[ "$BUILD_ARGS" != *"NOSERVER"* ]]; then
    75     if [[ "$BUILD_ARGS" != *"NOSERVER"* ]]; then
    76       cabal update
    76       cabal update
    77       cabal install --only-dependencies gameServer/hedgewars-server.cabal
    77       cabal install --only-dependencies --cabal-file=gameServer/hedgewars-server.cabal
    78     fi
    78     fi
    79     if [[ "$BUILD_ARGS" == *"BUILD_ENGINE_C"* ]]; then
    79     if [[ "$BUILD_ARGS" == *"BUILD_ENGINE_C"* ]]; then
    80       cabal update
    80       cabal update
    81       cabal install --only-dependencies tools/pas2c/pas2c.cabal
    81       cabal install --only-dependencies --cabal-file=tools/pas2c/pas2c.cabal
    82     fi
    82     fi
    83     # avoid installing Sparkle, add default unit path
    83     # avoid installing Sparkle, add default unit path
    84     export BUILD_ARGS="$BUILD_ARGS -DNOAUTOUPDATE=1"
    84     export BUILD_ARGS="$BUILD_ARGS -DNOAUTOUPDATE=1"
    85   elif [ "$TRAVIS_OS_NAME" == "ios" ]; then
    85   elif [ "$TRAVIS_OS_NAME" == "ios" ]; then
    86     # FPC 3.0.0 required for using FPC 3.0.1 which contains rtl for ios
    86     # FPC 3.0.0 required for using FPC 3.0.1 which contains rtl for ios