forked from etr/libhttpserver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
34 lines (34 loc) · 831 Bytes
/
.travis.yml
File metadata and controls
34 lines (34 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
language: cpp
compiler:
- gcc
- clang
env:
- DEBUG="debug"
- DEBUG="nodebug"
before_install:
- sudo apt-get install texinfo
- sudo pip install cpp-coveralls
- sudo pip install gcovr
- sudo apt-get install libjson-perl
- sudo apt-get install libjson-xs-perl
- sudo apt-get install libfile-slurp-perl
- wget ftp://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.37.tar.gz
- tar -xvzf libmicrohttpd-0.9.37.tar.gz
- cd libmicrohttpd-0.9.37
- ./configure --prefix=/usr
- make
- sudo make install
- cd ..
script:
- ./bootstrap
- mkdir build
- cd build
- if [ $DEBUG = "debug" ]; then ../configure --enable-debug --disable-shared; else ../configure; fi
- make
- make check
after_success:
- if [ $DEBUG = "debug" ]; then ../ci-report-coverage; fi
matrix:
exclude:
- compiler: clang
env: DEBUG="debug"