Skip to content

Commit ad5fe59

Browse files
committed
Enable windows build
1 parent ead9ccc commit ad5fe59

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ language: cpp
22
os:
33
- linux
44
- osx
5+
- windows
56
compiler:
67
- gcc
78
- clang
@@ -20,6 +21,7 @@ before_install:
2021
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo pip install gcovr; fi
2122
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install cppcheck; fi
2223
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then export CFLAGS='-mtune=generic'; fi
24+
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then choco install curl; fi
2325
- curl https://s3.amazonaws.com/libhttpserver/libmicrohttpd_releases/libmicrohttpd-0.9.59.tar.gz -o libmicrohttpd-0.9.59.tar.gz
2426
- tar -xvzf libmicrohttpd-0.9.59.tar.gz
2527
- cd libmicrohttpd-0.9.59
@@ -112,6 +114,10 @@ matrix:
112114
env: DEBUG="debug" COVERAGE="coverage"
113115
- compiler: clang
114116
env: LINKING='static'
117+
- os: windows
118+
env: DEBUG="debug" COVERAGE="coverage"
119+
- os: windows
120+
env: LINKING='static'
115121
include:
116122
- os: linux
117123
addons:

0 commit comments

Comments
 (0)