Browse Source

Trying to get Windows build on Travis CI

raysan5 6 years ago
parent
commit
34d110bb3e
1 changed files with 5 additions and 0 deletions
  1. 5 0
      .travis.yml

+ 5 - 0
.travis.yml

@@ -103,6 +103,11 @@ before_install:
       export RAYLIB_PACKAGE_SUFFIX="-macOS";
       if [ "$INSTALL_GLFW" == "YES" ]; then brew update; brew install glfw; fi;
     fi
+  - if [ "$TRAVIS_OS_NAME" == "windows" ]; then
+      export DONT_TEST=1;
+      export RAYLIB_PACKAGE_SUFFIX="-windows";
+      export CMAKE_ARCH_ARGS='-DPLATFORM=Desktop';
+    fi
   - mkdir build
   - $RUNNER $CC --version