Skip to content

Commit 4ad9346

Browse files
authored
Try experimenting with travis tests on OSX
1 parent 82617f9 commit 4ad9346

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.travis.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
language: cpp
2+
os:
3+
- linux
4+
- osx
25
compiler:
36
- gcc
47
- clang
@@ -7,10 +10,10 @@ env:
710
- DEBUG="nodebug"
811
- LINKING="static"
912
before_install:
10-
- sudo apt-get install info install-info
11-
- sudo pip install cpp-coveralls
12-
- sudo pip install gcovr
13-
- wget https://s3.amazonaws.com/libhttpserver/libmicrohttpd_releases/libmicrohttpd-0.9.52.tar.gz
13+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; sudo apt-get install info install-info; fi
14+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; sudo pip install cpp-coveralls; fi
15+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; sudo pip install gcovr; fi
16+
- curl https://s3.amazonaws.com/libhttpserver/libmicrohttpd_releases/libmicrohttpd-0.9.52.tar.gz -o libmicrohttpd-0.9.52.tar.gz
1417
- tar -xvzf libmicrohttpd-0.9.52.tar.gz
1518
- cd libmicrohttpd-0.9.52
1619
- ./configure --prefix=/usr

0 commit comments

Comments
 (0)