aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2019-01-03 16:07:51 +0100
committerraysan5 <raysan5@gmail.com>2019-01-03 16:07:51 +0100
commit214aa0c1b0d5c766d22bbb1069ecfb3a78373577 (patch)
tree82f468050109c9484db8ad9d1d16266272c53856
parent34d110bb3e327f86def2fc6801e8b17a33188114 (diff)
downloadraylib-214aa0c1b0d5c766d22bbb1069ecfb3a78373577.tar.gz
raylib-214aa0c1b0d5c766d22bbb1069ecfb3a78373577.zip
Update .travis.yml
-rw-r--r--.travis.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 4b75e19f..3d176523 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -56,6 +56,7 @@ before_install:
export DONT_TEST=1;
fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then
+ MAKE=make;
if [[ "$ARCH" == *-android ]]; then
export DONT_TEST=1;
export RAYLIB_PACKAGE_SUFFIX="-Android-arm64";
@@ -100,10 +101,12 @@ before_install:
fi;
fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then
+ MAKE=make;
export RAYLIB_PACKAGE_SUFFIX="-macOS";
if [ "$INSTALL_GLFW" == "YES" ]; then brew update; brew install glfw; fi;
fi
- if [ "$TRAVIS_OS_NAME" == "windows" ]; then
+ MAKE=mingw32-make;
export DONT_TEST=1;
export RAYLIB_PACKAGE_SUFFIX="-windows";
export CMAKE_ARCH_ARGS='-DPLATFORM=Desktop';
@@ -129,9 +132,9 @@ script:
-DUSE_WAYLAND=$WAYLAND
-DINCLUDE_EVERYTHING=ON
..
- - $RUNNER make VERBOSE=1
+ - $RUNNER $MAKE VERBOSE=1
- if [ "$RELEASE" != "NO" ]; then $RUNNER make package; fi
- - sudo $RUNNER make install
+ - sudo $RUNNER $MAKE install
- if [ ! "$DONT_TEST" ]; then
pkg-config --static --libs raylib;
nm -g release/libraylib.a | grep glfwGetProcAddress || (echo "libraylib.a doesn't contain GLFW symbols! Aborting..." && false);