Permalink
Browse files

Merge pull request #1206 from R1dO/Speedup-tarvis_osx

Reduce osx build time
  • Loading branch information...
SupSuper committed Nov 1, 2018
2 parents 97f4646 + 39c0929 commit 46604b559d0215c66a545368b761757c3f6d1ce5
Showing with 7 additions and 1 deletion.
  1. +2 −1 .travis.yml
  2. +5 −0 Brewfile.travis
@@ -17,12 +17,13 @@ addons:
- libsdl-mixer1.2-dev
- libsdl-image1.2-dev
- libsdl-gfx1.2-dev
homebrew:
brewfile: Brewfile.travis

env:
- BUILD_TYPE=Release EXTRA_WARNING_FLAGS="-Wall -Wextra"

before_install:
- if [ $TRAVIS_OS_NAME == osx ]; then brew install yaml-cpp sdl sdl_gfx sdl_image sdl_mixer --with-flac --with-libmikmod --with-libvorbis --with-static-lib; fi
- if [ $TRAVIS_OS_NAME == linux ]; then mkdir $TRAVIS_BUILD_DIR/dependency-prefix; fi
- if [ $TRAVIS_OS_NAME == linux ]; then export PKG_CONFIG_PATH=$TRAVIS_BUILD_DIR/dependency-prefix/lib/pkgconfig; fi

@@ -0,0 +1,5 @@
brew "yaml-cpp"
brew "sdl"
brew "sdl_gfx"
brew "sdl_image"
brew "sdl_mixer", args: ["with-flac"]

0 comments on commit 46604b5

Please sign in to comment.