forked from AMEGomes/libvmod-geoip2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (30 loc) · 788 Bytes
/
.travis.yml
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
dist: xenial
sudo: required
language: c
matrix:
include:
- compiler: gcc
env: configure_args='--enable-gcov'
- compiler: clang
env: configure_args=''
addons:
apt:
packages:
- lcov
- python3-docutils
- python3-sphinx
install:
- git submodule update --init --recursive
- cd libmaxminddb && ./bootstrap && ./configure && make &&
sudo make install && cd ..
- git clone https://github.com/varnishcache/varnish-cache.git
- cd varnish-cache && ./autogen.sh && ./configure && make &&
sudo make install && sudo ldconfig && cd ..
before_script:
- ./autogen.sh
script:
- ./configure CFLAGS="-Wall -Wextra -Werror" $configure_args
- make check VERBOSE=1
after_success:
- bash <(curl -s https://codecov.io/bash)
- make distcheck