From 82d0b0dcb820542ef10a4209d377c4b2e568f1e5 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Wed, 7 Jan 2015 01:42:38 +0100 Subject: [PATCH] Add Coverity Scan integration. Signed-off-by: Joachim Nilsson --- .travis.yml | 15 +++++++++++++++ README.md | 2 ++ 2 files changed, 17 insertions(+) diff --git a/.travis.yml b/.travis.yml index 2c95c0d..b701757 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,4 +4,19 @@ compiler: - gcc - clang +env: + global: + # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created + # via the "travis encrypt" command using the project repo's public key + - secure: "ikQcWMCLFoxq0+wMiqrNT5HRn0d4e3AxuF8VzNUNFrk6jUvHIufC/OKvr8VWPTjCaAQXZjWfdQAAARUXzJV10WZ7xpiv5qt4bt26Qih2AwMPMJeUOYrqXgQqhTPBp05iLYpo4ybICteXRI3zKKUA1wkdDC0jyu3rl+Fbveekbe0=" + +addons: + coverity_scan: + project: + name: "troglobit/libuev" + description: "libuEv | Simple asynchronous event loop for Linux." + notification_email: troglobit@gmail.com + build_command: "make" + branch_pattern: master + script: make diff --git a/README.md b/README.md index e3a50de..48cf5ab 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ libuEv | Simple event loop for Linux ==================================== +[![Build Status](https://travis-ci.org/troglobit/libuev.png?branch=master)](https://travis-ci.org/troglobit/libuev) +[![Coverity Scan Status](https://scan.coverity.com/projects/3846/badge.svg)](https://scan.coverity.com/projects/3846) > “Why an event loop, why not use threads?”