encfs/.travis.yml

42 lines
1.0 KiB
YAML
Raw Normal View History

2016-09-08 20:37:49 +02:00
language: cpp
compiler:
- gcc
- clang
branches:
only:
- master
- coverity_scan
2016-09-08 20:15:19 +02:00
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="
2016-09-08 20:37:49 +02:00
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq cmake libfuse-dev libgettextpo-dev
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
2016-09-08 20:15:19 +02:00
2016-09-08 20:37:49 +02:00
before_script:
2016-09-08 20:42:02 +02:00
- mkdir build
2016-09-08 20:37:49 +02:00
- cd build
2016-09-08 20:42:02 +02:00
- cmake ..
2016-09-08 20:37:49 +02:00
script:
- make
- ./checkops
2016-09-08 20:15:19 +02:00
addons:
coverity_scan:
project:
name: "vgough/encfs"
description: "Build submitted via Travis CI"
notification_email: vgough@pobox.com
build_command_prepend: "cd build && make clean"
build_command: "make -j 4"
branch_pattern: coverity_scan