diff options
author | Chocobo1 <Chocobo1@users.noreply.github.com> | 2016-01-26 01:41:25 +0800 |
---|---|---|
committer | Chocobo1 <Chocobo1@users.noreply.github.com> | 2016-01-26 02:29:03 +0800 |
commit | 67b6ee3bd6f02fbfe23052d3c05ac93efc348441 (patch) | |
tree | 094a1a355bd501f7f1ea011f603afc557cb1d8b8 | |
parent | cbcdab6669dc690230c6ce24e0ca8a91355079bf (diff) |
TravisCI: merge config for coverity scan
-rw-r--r-- | .travis.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 9c6c8eb..bac4cb1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,10 @@ os: - linux - osx +env: + global: + - secure: "C87Pgf5AVDoyQfm9MIv81g" + compiler: - gcc - clang @@ -18,9 +22,18 @@ addons: - libncurses5-dev - libnl-3-dev - libnl-route-3-dev + coverity_scan: + project: + name: "tgraf/bmon" + description: "bandwidth monitor" + notification_email: tgraf@suug.ch + build_command_prepend: "./autogen.sh && ./configure" + build_command: "make -j2" + branch_pattern: coverity_scan install: + - if [ "$TRAVIS_BRANCH" = "coverity_scan" ] && ! [ "$TRAVIS_OS_NAME" = "linux" -a "$CC" = "gcc" ]; then exit ; fi - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update > /dev/null && brew install confuse ; fi script: |