From e4bfd32191c4a04249dbca719a167571e37565fe Mon Sep 17 00:00:00 2001 From: aguspiza Date: Sat, 29 Jun 2019 02:06:59 +0200 Subject: [PATCH] windows build --- .travis.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.travis.yml b/.travis.yml index f1b85cb03a..14e5caae42 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,7 @@ language: c matrix: include: - os: linux + dist: xenial sudo: required addons: apt: @@ -15,6 +16,9 @@ matrix: - libglfw3-dev - libfreetype6-dev - libcurl3-dev + - os: windows + language: sh + filter_secrets: false - os: osx osx_image: xcode10.2 addons: @@ -29,6 +33,11 @@ script: if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then sudo unlink /usr/bin/gcc && sudo ln -s /usr/bin/gcc-5 /usr/bin/gcc fi + - | + if [[ "${TRAVIS_OS_NAME}" == "windows" ]]; then + choco install make + cp "C:\\ProgramData\\chocolatey\\bin\\gcc.exe" "C:\\ProgramData\\chocolatey\\bin\\cc.exe" + fi - export VROOT=$(pwd) - cd ./compiler - make