summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetre Eftime <[email protected]>2016-02-03 18:23:22 +0200
committerPetre Eftime <[email protected]>2016-02-03 18:23:22 +0200
commit8b3f5e99df02be32084f313ab237bfcf95323364 (patch)
tree3d6201e2a6d11eb98a701c84217a759b31667f60
parent28bb9c5186b76a20a692530cf26afd56e8642679 (diff)
Add Coverity Scan to Travis
Signed-off-by: Petre Eftime <[email protected]>
-rw-r--r--.travis.yml13
1 files changed, 12 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 378cc3d9..4e29eb6d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,6 +6,17 @@ compiler:
- clang
before_script:
- export JAVA_HOME=/usr/lib/jvm/java-8-oracle
- - if `java -version`; then export BUILDJAVA=ON; fi
+ - if `java -version`; then export BUILDJAVA=ON; else BUILDJAVA=OFF; fi
script:
- mkdir build && cd build && cmake -DBUILDJAVA=$BUILDJAVA .. && make
+env:
+ global:
+ secure: XwDsJGhc2p96UUnfail8Vlhplq1yoM8KWnpKcG6Imt7S7e5Z+qsspPGDXBXEgWXGrWxaQXNtZRG/GfwFJ5X7V3sPJqapIepnlFdlKlOXsdOnKbJATdezeERvkUEku+iqUShWnFyoq8M8+yjyVljq5/rZnY8nN/V0MZSpXzkqXS/V67wWthjRjp4KGnbf+wDOfXhhAvHkB6QWF5QnzYLUddVhw2IZaH+CbXKYEIL3nySAMytYKiJhx6m8G4aBpWDOXtoL1K21USQOhJmI/cF9MWdiet/qpE+tpLdytw34vYQbJWEWED2Waxa2hwanCGNE4rB0x+yA3yoM+fr/g5cN1F5/PVuNszof5QBYv/WrrP1WHIT3nAVmmgQ+LbF/3Yd+eVuoLggSIsyn+jrCEVl7qf3mhZHJl4MzY9d/jYZ+6k6j41O7UlUKnTBc6HOAGKBs4xl96uwjyp0cCpqPYOHSXU0AmFoirHKH96GZqLvFOxsSLzQAcTPkRy0nyqfterhnpAhm0PO8BVCw2xjEKiZ3juS15nS5MR8hmKy6obbONnC59vpTI01y3bwiZ0Lzj6c4s0pspMlC7EQmsg2eNxkMfgmFaUVYt3UCQyZDrAGmmk/bXJmxXmPJVopme/bRGo8+7rubfsNy4KDbEAbUcr7YiskQ3Bs0wjuCfyBGqUVVmpk=
+addons:
+ coverity_scan:
+ name: $TRAVIS_REPO_SLUG
+ version: $TRAVIS_JOB_NUMBER
+ notification_email: [email protected]
+ build_command_prepend: cmake
+ build_command: make
+ branch_pattern: coverity_scan