forked from SimonKagstrom/kcov
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (35 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
40
41
42
43
44
# Build matrix / environment variable are explained on:
# http://about.travis-ci.org/docs/user/build-configuration/
# This file can be validated on:
# http://lint.travis-ci.org/
sudo: required
dist: trusty
before_install: make -f travis/Makefile prepare_environment
os:
- linux
- osx
language: cpp
compiler:
- gcc
- clang
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: "WG/iday4nudNJ9acP/gjjuXzI0Jw0MN0zP9JA3WueMvMV0UrVRnBKM+papB06XiB4Gyiaoy92pfOGzmby0ciMAvydBn2DyuGZhM1nXuEIbkQqfP3AR3z6nCZHY27NAhVnpnEAyb56FwD353JMVZj34cnRmcjgKArMM3Y8W66Zls="
addons:
coverity_scan-disabled:
project:
name: "SimonKagstrom/kcov"
description: "code coverage"
notification_email: [email protected]
build_command_prepend: "mkdir -p coverity-build && cd coverity-build && cmake .. && cd .."
build_command: "travis/coverity-build.sh"
branch_pattern: master
script: make -f travis/Makefile run-tests
notifications:
recipients:
email:
on_success: change
on_failure: always