Explorar o código

Update .travis.yml

raysan5 %!s(int64=6) %!d(string=hai) anos
pai
achega
214aa0c1b0
Modificáronse 1 ficheiros con 5 adicións e 2 borrados
  1. 5 2
      .travis.yml

+ 5 - 2
.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);