-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Noah Watkins <[email protected]>
- Loading branch information
Showing
2 changed files
with
22 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters