Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
9275d84c
Unverified
Commit
9275d84c
authored
6 years ago
by
Edward Thomson
Committed by
GitHub
6 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4755 from pks-t/pks/travis-coverity-cron
travis: do not execute Coverity analysis for all cron jobs
parents
b093bb56
0a6c13a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
.travis.yml
+8
-4
No files found.
.travis.yml
View file @
9275d84c
...
...
@@ -65,8 +65,12 @@ matrix:
-
MBEDTLS=1
CMAKE_OPTIONS="-DTHREADSAFE=OFF -DBUILD_EXAMPLES=ON -DUSE_HTTPS=mbedTLS -DSHA1_BACKEND=mbedTLS -DMBEDTLS_ROOT_DIR=/tmp/mbedtls"
os
:
linux
allow_failures
:
-
env
:
COVERITY=1
-
compiler
:
gcc
if
:
type = cron
env
:
-
CMAKE_OPTIONS="-DBUILD_CLAR=ON -DCMAKE_BUILD_TYPE=Debug"
COVERITY=1
os
:
linux
install
:
-
if [ -f ./ci/setup-${TRAVIS_OS_NAME}.sh ]; then ./ci/setup-${TRAVIS_OS_NAME}.sh; fi
...
...
@@ -75,8 +79,8 @@ install:
script
:
-
mkdir build
-
cd build
-
if [
"$TRAVIS_EVENT_TYPE" = "cron
" ]; then ../ci/coverity.sh; fi
-
if [
"$TRAVIS_EVENT_TYPE" != "cron
" ]; then ../ci/build.sh && ../ci/test.sh; fi
-
if [
-n "$COVERITY
" ]; then ../ci/coverity.sh; fi
-
if [
-z "$COVERITY
" ]; then ../ci/build.sh && ../ci/test.sh; fi
# Only watch the development and master branches
branches
:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment