-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (31 loc) · 1.07 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
# https://travis-ci.org/dryproject/librfc
language: cpp
compiler:
- clang
- gcc
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- if [ "$CXX" = "clang++" ]; then sudo apt-get install -qq libstdc++-4.8-dev; fi
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
before_script:
- ./autogen.sh
script:
- if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then ./configure && make && make check; fi
branches:
only:
- master
- coverity
# https://scan.coverity.com/projects/3227
env:
global:
- secure: "ec4mmJ7SGCDxa2j/dZ/5Yb+Hz5ZPHa3t7JuA/R++ezVlHIjlso4LFMH7H0mRFo9sQ+QRSnzMT5Gae5iMzcVrINndQoGXeULX7NefBjiC/4HTN7lV7eedgIaM9OE7x5zRJj0pQvicQHhHTAFhzPCqlbPNlajXNdpmC/jkb/DTmYk=" # COVERITY_SCAN_TOKEN
addons:
coverity_scan:
project:
name: dryproject/librfc
notification_email: arto@bendiken.net
build_command_prepend: cov-configure --comptype gcc --compiler $CC && ./configure
build_command: make
branch_pattern: coverity