From 9fd8e0b4d3374061287a7b0647373750ce8f221c Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sun, 14 Sep 2014 20:00:58 +0200 Subject: [PATCH] Add support for Coverity Scan of editline and add neat gfx to README Signed-off-by: Joachim Nilsson --- .travis.yml | 18 +++++++++++++++++- README.md | 1 + 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 10f5d77..05a6fd7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,4 +3,20 @@ language: c compiler: - gcc -script: ./configure && make +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: "" + +addons: + coverity_scan: + project: + name: "troglobit/editline" + description: "Minix editline" + notification_email: troglobit@gmail.com + build_command_prepend: "./configure --enable-sigstop --enable-terminal-bell" + build_command: "make -j5" + branch_pattern: master + +script: ./configure --enable-sigstop --enable-terminal-bell && make -j5 diff --git a/README.md b/README.md index f61a553..feb9360 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ editline ======== +[![Build Status](https://travis-ci.org/troglobit/editline.png?branch=master)](https://travis-ci.org/troglobit/editline)[![Coverity Scan Status](https://scan.coverity.com/projects/2982/badge.svg)](https://scan.coverity.com/projects/2982) This is a line editing library. It can be linked into almost any program to provide command-line editing and history. It is call-compatible with the FSF