Skip to content

Commit

Permalink
coverity: setup coverity build
Browse files Browse the repository at this point in the history
Signed-off-by: Noah Watkins <[email protected]>
  • Loading branch information
dotnwat committed Aug 16, 2016
1 parent 9420ab5 commit e976398
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
24 changes: 21 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,30 @@
sudo: required

language: cpp

dist: trusty

services:
- docker

before_install:
- docker pull zlog/ci
- sudo apt-get -qq update
- sudo apt-get install -y libprotobuf-dev protobuf-compiler libboost-all-dev

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: "EhSojL5dZ7LY9S59Iixzw8KUtMqVdE8dZTZqZ0gnA1VfG4XcQr8u8Vi9jJzGaGxcXIL10p3nE4whrmhlEhUpxKkrcOgKo9vKmn9xByUHd0CBhBudZAdlQsq4DMEp20qAwg+5iuCUHS6cn3UjduQqdo9YMhfqFuRiH+U3oZxS0W4="

addons:
coverity_scan:
project:
name: "noahdesu/zlog"
description: "Build submitted via Travis CI"
notification_email: [email protected]
build_command_prepend: "cmake ."
build_command: "make"
branch_pattern: coverity_scan

script:
- docker run -v $TRAVIS_BUILD_DIR:/src/zlog zlog/ci
script: if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then docker run -v $TRAVIS_BUILD_DIR:/src/zlog zlog/ci ; fi
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Zlog - a distributed shared log for ceph

[![Build Status](https://travis-ci.org/noahdesu/zlog.svg?branch=master)](https://travis-ci.org/noahdesu/zlog)
[![Build Status](https://travis-ci.org/noahdesu/zlog.svg?branch=master)](https://travis-ci.org/noahdesu/zlog) [![Coverity Scan Build Status](https://scan.coverity.com/projects/9894/badge.svg)](https://scan.coverity.com/projects/noahdesu-zlog)

Zlog is a strongly consistent shared log designed to run on top of Ceph.
Specifically, it is an implementation of the CORFU protocol adapted for RADOS,
Expand Down

0 comments on commit e976398

Please sign in to comment.