forked from insomniacslk/dublin-traceroute
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
79 lines (64 loc) · 2.62 KB
/
.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
language: cpp
before_script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then .travis/install_dependencies_linux.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then .travis/install_dependencies_osx.sh ; fi
- mkdir build
- cd build
- cmake ..
script:
- make VERBOSE=1
- make tests && make test
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then (cd ../integ && go get -t -v ./... && go test); fi
after_script:
- ./dublin-traceroute
sudo: required
dist: bionic
os:
- linux
- osx
compiler:
- clang
- gcc
matrix:
exclude:
- os: osx
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- clang
- libpcap-dev
- libtins-dev
- libjsoncpp-dev
- iptables # for integ tests
coverity_scan:
# GitHub project metadata
project:
name: insomniacslk/dublin-traceroute
version: 1.0
description: Dublin Traceroute is a NAT-aware multipath tracerouting tool
# Where email notification of build analysis results will be sent
notification_email: [email protected]
# Commands to prepare for build_command
# build_command_prepend: ./configure
# The command that will be added as an argument to "cov-build" to compile your project for analysis,
build_command:
- mkdir build
cd build
cmake ..
make
# Pattern to match selecting branches that will run analysis. We recommend leaving this set to 'coverity_scan'.
# Take care in resource usage, and consider the build frequency allowances per
# https://scan.coverity.com/faq#frequency
branch_pattern: coverity_scan
install:
- if [ "$CXX" = "g++" ]; then export CXX="g++"; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$CXX" = "clang++" ]; then export CXX="clang++"; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ] && [ "$CXX" = "g++" ]; then export CXXFLAGS="-stdlib=libstdc++"; fi
env:
global:
# COVERITY_SCAN_TOKEN
secure: "HRQ2t4oxAzmhdC8EH63WnQR9pMW6++SU72s6ila+XrCY1lZEaCVi8gZfLWbNkvamH9h1g+KLRFIA0w7DYBDIPYHHMpth847ypMdRtOyBk7815rw9Ew2HMZA7octvKTKvrHXboH71TJyuC/Zb62jWajcasilsVAb+AmWc9IvichhbQlAarwUg8d62Mm4dBWvnXCivl0xDrPoXPSbmrBEF3Z5Ebd7Rg5nCiLPLwKP3uc5TEUgt8CRdHhRrjKZ82VoaHdrGCm3gKp6zWBgYTk6XzG58yGararHiiECTTkKG0spXGKjhHmNU+IRERekNaKHkn0H+WKutU5uT0zlbou0uCe941OPi0dnAC3IqQPagVwKXN4fZSG2Wjjq64+1RPHTnYJxMO1OObiRPY6vKRTsChcHR2ZWQ1yW4NnRtyFuXwvb2IhrZJ3yo+GvSh+pw7vC979iRLWyV2FGLIa1PrxDxeePgbkhuVw5dbnP5hiHRla30hqf1hOQDdnHwwhsOnCTy8DEar1t9GWXsq9CqY0hV4uIf7zFZssXoch1GROIt/Lmi7/7JTtR3kePymdWT/57rTvkPeFkHHSvUNPzyz6WriF7O5AvOqiDtBy2YV29dSAi5MLQ5nj/+TsZyN9QX/Zn0moWvGct8Jf1Phd+N7Fx6MLB2StEqNAlGLbRWM+ERLIU="