-
Notifications
You must be signed in to change notification settings - Fork 37
/
.travis.yml
52 lines (47 loc) · 1.44 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
45
46
47
48
49
50
51
52
language: cpp
os: linux
sudo: required
dist: trusty
addons:
coverity_scan:
project:
name: "banditcpp/bandit"
description: "Human-friendly unit testing for C++11"
notification_email: s-beyer@gmx.net
build_command_prepend: cmake -DCMAKE_BUILD_TYPE=Release .
build_command: make
branch_pattern: coverity-scan
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- lcov
matrix:
include:
- env: BUILD_TYPE=check
if: branch != coverity-scan
- compiler: gcc
env: BUILD_TYPE=codecov
if: branch != coverity-scan
- compiler: clang
env: BUILD_TYPE=normal
if: branch != coverity-scan
- compiler: gcc
if: branch = coverity-scan
env:
- BUILD_TYPE=none
- secure: "LFj7swWUwUqOnb/Lqtf72FzGakgfZZnYaSw1YJspPMen2Hfv60w96T6KzsB5i1cwG898K2ILMsZjlxW2DC2fg2G87xnHWq/B+ZwBCBxZRhQUqTEfkf5Hok5WgIBQfgVUZe1lONXyM//5ZNpvDFHTkTqMQuCCGqbK3KKhx51soEg="
# The previous declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
before_script:
- util/travis.sh before_script
script:
- util/travis.sh script
after_success:
- util/travis.sh after_success
notifications:
irc:
channels: "chat.freenode.net#banditcpp"
skip_join: true
use_notice: true
template: "%{repository} %{branch} (%{commit} %{commit_subject} -- %{author}): %{message} See %{compare_url}"