forked from ithewei/libhv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (34 loc) · 864 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
31
32
33
34
35
36
37
38
39
language: cpp
jobs:
include:
- os: linux
dist: xenial
compiler: gcc
env: COVERALLS=no
script:
- ./configure
- make libhv examples unittest evpp
- os: osx
compiler: clang
env: COVERALLS=no
script:
- ./configure
- make libhv examples unittest evpp
- os: windows
compiler: msvc
env: COVERALLS=no
script:
- mkdir win64
- cd win64
- cmake .. -G "Visual Studio 15 2017 Win64"
- cmake --build .
before_script:
- if [ "$COVERALLS" = "yes" ]; then
pip install --user cpp-coveralls;
export CC="$CC --coverage" CXX="$CXX --coverage";
fi
after_success:
- if [ "$COVERALLS" = "yes" ]; then
scripts/test-coverage.sh;
coveralls --gcov-options '\-lp' --include base --include event --include http;
fi