travis-ci: OSX_STATIC=0; use otool -L to show library dependencies

This commit is contained in:
Thomas BERNARD 2018-11-27 14:48:37 +01:00 committed by Thomas Bernard
parent d2c24b1448
commit f9a854f513
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C

View File

@ -36,6 +36,7 @@ compiler:
before_install:
- 'if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update > /dev/null ; fi'
- 'if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install sdl sdl_image sdl_ttf sdl2 sdl2_image sdl2_ttf lua ; fi'
- 'if [ "$TRAVIS_OS_NAME" = "osx" ]; then export OSX_STATIC=0 ; fi'
# to avoid errors with git rev-list --count 1af8c74f53110e349d8f0d19b14599281913f71f..
install:
@ -51,3 +52,4 @@ script:
- 'if [ "$WIN32CROSS" = "1" ] ; then API=win32 make ziprelease ; else API=sdl2 make ziprelease ; fi'
- 'if [ "$WIN32CROSS" = "1" ] ; then API=win32 make win32installer ; fi'
- 'if [ "$WIN32CROSS" = "" ] && [ "$TRAVIS_OS_NAME" = "linux" ] ; then API=x11 make -j3 ; API=x11 make ziprelease ; fi'
- 'if [ "$TRAVIS_OS_NAME" = "osx" ]; then otool -L bin/grafx2* ; fi'