Merge pull request #206 from vgough/coverity_scan

fix automated coverity scan
This commit is contained in:
Valient Gough 2016-09-09 11:07:36 +02:00 committed by GitHub
commit b69b162b99

View File

@ -3,7 +3,6 @@ language: cpp
sudo: false sudo: false
compiler: compiler:
- gcc
- clang - clang
branches: branches:
@ -18,17 +17,13 @@ env:
# via the "travis encrypt" command using the project repo's public key # via the "travis encrypt" command using the project repo's public key
- secure: "KuAAwjiIqkk4vqSX/M3ZZIvQs6edm+tV8IADiklTUYZIFyxu8FgZ6RbDdMD2sef5bNZA1OZhlcbeRtiKff5CfMtvzc607Lg3NUkpi+ShMynWgqS/e0uCMf9ogEJlUiZMxf4juBi7v6DyMl/WV6pAdJmdfHtzcj8GF2mgTfQjkO8=" - secure: "KuAAwjiIqkk4vqSX/M3ZZIvQs6edm+tV8IADiklTUYZIFyxu8FgZ6RbDdMD2sef5bNZA1OZhlcbeRtiKff5CfMtvzc607Lg3NUkpi+ShMynWgqS/e0uCMf9ogEJlUiZMxf4juBi7v6DyMl/WV6pAdJmdfHtzcj8GF2mgTfQjkO8="
install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
before_script: before_script:
- mkdir build - mkdir build
- cd build - cd build
- cmake .. - cmake ..
script: script:
- make - if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then make && ./checkops ; fi
- ./checkops
addons: addons:
coverity_scan: coverity_scan:
@ -36,7 +31,7 @@ addons:
name: "vgough/encfs" name: "vgough/encfs"
description: "Build submitted via Travis CI" description: "Build submitted via Travis CI"
notification_email: vgough@pobox.com notification_email: vgough@pobox.com
build_command_prepend: "cd build && make clean" build_command_prepend: "make clean"
build_command: "make -j 4" build_command: "make -j 4"
branch_pattern: coverity_scan branch_pattern: coverity_scan
@ -44,8 +39,6 @@ addons:
sources: sources:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
packages: packages:
- gcc-4.8
- g++-4.8
- clang - clang
- cmake - cmake
- libfuse-dev - libfuse-dev