-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
39 lines (32 loc) · 1.15 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
language: cpp
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "qszRgzWZ0T1RoITutxr0wJaAaAA7AMVEUuFOO/xUK1IeCL8esiok1Gix7u1OOGXWo09pWdKXyYR6IxaKTPuolDUWrZG+OdaO+zWsUQ9osMc1p7UtHAm/849ZVKXSs86c//nTlhkM4Gg7DVeYxNpTFF0dZ6lJX9Lm9vm0MarJ8nk="
addons:
coverity_scan:
project:
name: "d-led/picojson_serializer"
description: "simple json serialization for c++"
notification_email: [email protected]
build_command: "make -C Build/linux/gmake config=debug"
branch_pattern: master
compiler:
- clang
- gcc
before_install:
- sudo add-apt-repository --yes "ppa:codegear/release"
- sudo apt-get update
- sudo apt-get --yes install premake4
- sudo pip install pyyaml
- sudo pip install cpp-coveralls
before_script:
- premake4 gmake
script:
- make -C Build/linux/gmake config=release
- make #clang
- make -C Build/linux/gmake config=gcov
after_success:
- "cd $TRAVIS_BUILD_DIR"
- coveralls -b Build/linux/gmake -x .h --verbose -e test -e msinttypes -e Catch -e picojson -e cov-int -E /usr/include.* || true