-
Notifications
You must be signed in to change notification settings - Fork 40
/
.travis.yml
30 lines (27 loc) · 1.49 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
env:
global:
# The next declaratioddn is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "gx527mA//JOHGAP+QVlh081EzLvG5gAkXLCa89fK+WZhO/Q1ZC7NdWrV2M8AvKyfnH/zcz0N2qvDJ99ATzzFZ/n1StIwnUWPIgjX9QO6L0NWShSR2PdL0LwION3d4OV8zbEY/i+mCQmVng1c9/SfVFn/58Ee1vu8gWnCxBK+o7I="
group: travis_latest
sudo: false
dist: trusty
language: c
compiler:
- clang
- gcc
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y libpcap-dev gnuplot
- wget https://cmocka.org/files/1.1/cmocka-1.1.1.tar.xz -O /tmp/cmocka-1.1.1.tar.xz
- tar -xvf /tmp/cmocka-1.1.1.tar.xz
- mkdir cmocka-1.1.1/build && cd cmocka-1.1.1/build && cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_STATIC_LIB=OFF -DUNIT_TESTING=OFF -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON .. && make && sudo make install && cd -
script: ./autogen.sh --disable-linux-kernel-module --disable-doc && make --silent clean && make -j2 all CFLAGS='-Wno-unreachable-code -Wframe-larger-than=1000000' && make -j2 check CFLAGS='-Wno-unreachable-code -Wframe-larger-than=1000000' && make -j2 --silent distcheck CFLAGS='-Wno-unreachable-code -Wframe-larger-than=1000000'
addons:
coverity_scan:
project:
name: "didier-barvaux/rohc"
notification_email: didier@rohc-lib.org
build_command_prepend: ./autogen.sh --disable-linux-kernel-module --disable-doc && make --silent clean
build_command: make all check CFLAGS=-Wno-unreachable-code
branch_pattern: coverity_scan