From 05c3774bd4369b01a97e874298589bd9a6a4ef17 Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Fri, 2 May 2014 16:19:04 +0200
Subject: [PATCH] Updated Travis-CI config with Coverity addon
---
.travis.yml | 31 +++++++++++++++++++++++--------
1 file changed, 23 insertions(+), 8 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index c41e0bf33..0492bb912 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,13 +1,28 @@
language: c
compiler:
- - clang
- - gcc
+- clang
+- gcc
before_install: sudo apt-get update
install: sudo apt-get install bc gnutls-bin valgrind perl
script:
- - cmake -D CMAKE_BUILD_TYPE:String="Check" .
- - make
- - make test
- - ( cd tests && ./compat.sh )
- - ( cd tests && ./ssl-opt.sh )
- - tests/scripts/test-ref-configs.pl
+- cmake -D CMAKE_BUILD_TYPE:String="Check" .
+- make
+- make test
+- ( cd tests && ./compat.sh )
+- ( cd tests && ./ssl-opt.sh )
+- tests/scripts/test-ref-configs.pl
+env:
+ global:
+ secure: LidFb8vsR72MKTVpaZ8IYHR1xeVnff47/+ckEge5F9gcwf7QmfSI3+gBLZZciNdyrWzOFhlQ5Q2z/pqVeRtEkKrlcporoMMcHRIbyIA+lfRE1HnYHw7jITScfN9ZmK4msU1ElRlAk6U7ND6MPTH8QfWwchNafDk9d3AoHL4/RrQ=
+
+addons:
+ coverity_scan:
+ project:
+ name: "polarssl/polarssl"
+ description: "PolarSSL Open Source SSL Library"
+ notification_email: p.j.bakker@polarssl.org
+ build_command_prepend:
+ - cmake -D CMAKE_BUILD_TYPE:String="Check" .
+ - make clean
+ build_command: make
+ branch_pattern: development