-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
33 lines (32 loc) · 1.13 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
# https://travis-ci.org/datagraph/librdf
language: cpp
compiler:
- clang
- gcc
before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq
- sudo apt-get install -qq libraptor2-dev libxml2-dev libxqilla-dev
- 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 --without-serd && make && make check; fi
branches:
only:
- master
- coverity
# https://scan.coverity.com/projects/3233
env:
global:
- secure: "PwHNLygFY3pBOu2Hu4IH2RupJJBYwVr5UhPE13FFNIU2KQlpCQ1z+vDvYzfPbi2VMf9UzPwwYMQvTvvTxuKjozemDD0HM7hBRwmUkZhmjgmiJXlXLqtTwC3iuHw8hq7VLul+hqrevpYhL842f8DMtgUCtgRD4lCw+qnLH9FJ+1c="
addons:
coverity_scan:
project:
name: datagraph/librdf
notification_email: [email protected]
build_command_prepend: cov-configure --comptype gcc --compiler $CC && ./configure
build_command: make
branch_pattern: coverity