forked from vgough/encfs
-
Notifications
You must be signed in to change notification settings - Fork 41
/
.travis.yml
45 lines (36 loc) · 985 Bytes
/
.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
language: cpp
sudo: false
compiler:
- clang
branches:
only:
- master
- coverity_scan
- travis
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: "KuAAwjiIqkk4vqSX/M3ZZIvQs6edm+tV8IADiklTUYZIFyxu8FgZ6RbDdMD2sef5bNZA1OZhlcbeRtiKff5CfMtvzc607Lg3NUkpi+ShMynWgqS/e0uCMf9ogEJlUiZMxf4juBi7v6DyMl/WV6pAdJmdfHtzcj8GF2mgTfQjkO8="
before_script:
- mkdir build
- cd build
- cmake ..
script:
- if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then make && ./checkops ; fi
addons:
coverity_scan:
project:
name: "vgough/encfs"
description: "Build submitted via Travis CI"
notification_email: vgough@pobox.com
build_command_prepend: "make clean"
build_command: "make -j 4"
branch_pattern: coverity_scan
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- clang
- cmake
- libfuse-dev