Skip to content

Commit 314dd98

Browse files
committed
Set-up custom toolchain on windows
1 parent a32f996 commit 314dd98

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ before_install:
2222
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo pip install gcovr; fi
2323
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install cppcheck; fi
2424
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then export CFLAGS='-mtune=generic'; fi
25+
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then export PATH=/c/tools/msys64:/c/tools/msys64/mingw64/bin:/c/tools/msys64/mingw32/bin:/c/tools/msys64/usr/bin; fi
2526
- which env;
26-
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then /c/tools/msys64/usr/bin/pacman.exe -Syuu; fi
27-
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then /c/tools/msys64/usr/bin/pacman.exe -S --needed base-devel; fi
27+
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then pacman -Syuu; fi
28+
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then pacman -S --needed base-devel mingw-w64-i686-toolchain mingw-w64-x86_64-toolchain git; fi
2829
- curl https://s3.amazonaws.com/libhttpserver/libmicrohttpd_releases/libmicrohttpd-0.9.59.tar.gz -o libmicrohttpd-0.9.59.tar.gz
2930
- tar -xvzf libmicrohttpd-0.9.59.tar.gz
3031
- cd libmicrohttpd-0.9.59

0 commit comments

Comments
 (0)