Skip to content

Commit

Permalink
Merge pull request #206 from vgough/coverity_scan
Browse files Browse the repository at this point in the history
fix automated coverity scan
  • Loading branch information
vgough authored Sep 9, 2016
2 parents 6ba9d4a + 7c49fc5 commit b69b162
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ language: cpp
sudo: false

compiler:
- gcc
- clang

branches:
Expand All @@ -18,34 +17,28 @@ env:
# via the "travis encrypt" command using the project repo's public key
- secure: "KuAAwjiIqkk4vqSX/M3ZZIvQs6edm+tV8IADiklTUYZIFyxu8FgZ6RbDdMD2sef5bNZA1OZhlcbeRtiKff5CfMtvzc607Lg3NUkpi+ShMynWgqS/e0uCMf9ogEJlUiZMxf4juBi7v6DyMl/WV6pAdJmdfHtzcj8GF2mgTfQjkO8="

install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi

before_script:
- mkdir build
- cd build
- cmake ..

script:
- make
- ./checkops
- if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then make && ./checkops ; fi

addons:
coverity_scan:
project:
name: "vgough/encfs"
description: "Build submitted via Travis CI"
notification_email: [email protected]
build_command_prepend: "cd build && make clean"
build_command_prepend: "make clean"
build_command: "make -j 4"
branch_pattern: coverity_scan

apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
- clang
- cmake
- libfuse-dev
Expand Down

0 comments on commit b69b162

Please sign in to comment.