Skip to content

Commit

Permalink
travis-ci: enable sdl2 with linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
miniupnp committed Nov 19, 2017
1 parent f38bf8e commit c17d791
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ addons:
- dos2unix
- libsdl1.2-dev
- libsdl-image1.2-dev
# - libsdl2-dev
# - libsdl2-image-dev
- libsdl2-dev
- libsdl2-image-dev

# container-based builds
sudo: false
Expand All @@ -28,8 +28,6 @@ matrix:
- os: linux
env: CROSS=mingw
compiler: clang
- os: linux
env: SDLVERSION=2
- os: osx
env: CROSS=mingw

Expand All @@ -45,7 +43,7 @@ before_install:

script:
- 'cd $TRAVIS_BUILD_DIR'
- 'if [ "$CROSS" = "mingw" ] ; then ./configure --prefix-dir=${HOME} --os=MINGW --without-asound --without-oss --without-munt --without-sdl --without-sdl2 --without-pulse ; else ./configure --prefix-dir=${HOME} ; fi'
- 'if [ "$CROSS" = "mingw" ] ; then ./configure --prefix-dir=${HOME} --os=MINGW --without-asound --without-oss --without-munt --without-sdl --without-sdl2 --without-pulse ; elif [ "$SDLVERSION" = "1" ] ; then ./configure --prefix-dir=${HOME} --without-sdl2 ; else ./configure --prefix-dir=${HOME} ; fi'
- 'make -j3'
- 'make bundle_zip'
- 'if [ "$TRAVIS_OS_NAME" = "osx" ]; then make bundle_dmg ; fi'
Expand Down

0 comments on commit c17d791

Please sign in to comment.