Skip to content

Commit a32f996

Browse files
committed
Add optional pacman software
1 parent ae01168 commit a32f996

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212
- LINKING="static"
1313
before_install:
1414
- eval "${MATRIX_EVAL}"
15-
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then choco install gnuwin; fi
15+
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then choco install msys2; fi
1616
- if [ "$TRAVIS_OS_NAME" != "windows" ]; then export LDFLAGS="$LDFLAGS -L/usr/local/lib -L/usr/lib"; fi
1717
- if [ "$TRAVIS_OS_NAME" != "windows" ]; then export PATH=$PATH:/usr/local/lib; fi
1818
- if [ "$TRAVIS_OS_NAME" != "windows" ]; then export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib; fi
@@ -22,6 +22,9 @@ 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+
- 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
2528
- curl https://s3.amazonaws.com/libhttpserver/libmicrohttpd_releases/libmicrohttpd-0.9.59.tar.gz -o libmicrohttpd-0.9.59.tar.gz
2629
- tar -xvzf libmicrohttpd-0.9.59.tar.gz
2730
- cd libmicrohttpd-0.9.59

0 commit comments

Comments
 (0)