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
41ad9ebf
Commit
41ad9ebf
authored
Nov 01, 2016
by
Carlos Martín Nieto
Committed by
GitHub
Nov 01, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3975 from pks-t/pks/ci-improvements
CI Improvements
parents
a051ee31
0334bf4b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
11 deletions
+7
-11
.travis.yml
+0
-3
script/coverity.sh
+7
-8
No files found.
.travis.yml
View file @
41ad9ebf
...
...
@@ -47,9 +47,6 @@ matrix:
os
:
linux
allow_failures
:
-
env
:
COVERITY=1
-
env
:
-
VALGRIND=1
OPTIONS="-DBUILD_CLAR=ON -DBUILD_EXAMPLES=OFF -DDEBUG_POOL=ON -DCMAKE_BUILD_TYPE=Debug"
install
:
-
if [ "$TRAVIS_OS_NAME" = "osx" ]; then ./script/install-deps-${TRAVIS_OS_NAME}.sh; fi
...
...
script/coverity.sh
View file @
41ad9ebf
#!/bin/bash
set
-e
# Environment check
[
-z
"
$COVERITY_TOKEN
"
]
&&
echo
"Need to set a coverity token"
&&
exit
1
# Only run this on our branches
echo
"Pull request:
$TRAVIS_PULL_REQUEST
| Slug:
$TRAVIS_REPO_SLUG
"
if
[
"
$TRAVIS_PULL_REQUEST
"
!=
"false"
-o
"
$TRAVIS_REPO_SLUG
"
!=
"libgit2/libgit2"
]
;
echo
"
Branch:
$TRAVIS_BRANCH
|
Pull request:
$TRAVIS_PULL_REQUEST
| Slug:
$TRAVIS_REPO_SLUG
"
if
[
"
$TRAVIS_
BRANCH
"
!=
"master"
-o
"
$TRAVIS_
PULL_REQUEST
"
!=
"false"
-o
"
$TRAVIS_REPO_SLUG
"
!=
"libgit2/libgit2"
]
;
then
echo
"Only analyzing
'development' on the main repo
."
echo
"Only analyzing
the 'master' brach of the main repository
."
exit
0
fi
COV_VERSION
=
6.6.1
# Environment check
[
-z
"
$COVERITY_TOKEN
"
]
&&
echo
"Need to set a coverity token"
&&
exit
1
case
$(
uname
-m
)
in
i?86
)
BITS
=
32
;;
amd64|x86_64
)
BITS
=
64
;;
esac
SCAN_TOOL
=
https://scan.coverity.com/download/
linux-
${
BITS
}
SCAN_TOOL
=
https://scan.coverity.com/download/
cxx/linux
${
BITS
}
TOOL_BASE
=
$(
pwd
)
/_coverity-scan
# Install coverity tools
...
...
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