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
6f8cc9b5
Commit
6f8cc9b5
authored
Jul 27, 2018
by
Edward Thomson
Committed by
Patrick Steinhardt
Oct 12, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: move travis to the new scripts
(cherry picked from commit
24b8dd82
)
parent
ac46b959
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
15 deletions
+19
-15
.travis.yml
+10
-8
.vsts-ci.yml
+1
-1
ci/coverity.sh
+1
-4
ci/setup-linux.sh
+7
-2
ci/setup-osx.sh
+0
-0
No files found.
.travis.yml
View file @
6f8cc9b5
...
...
@@ -16,9 +16,10 @@ env:
global
:
-
secure
:
"
YnhS+8n6B+uoyaYfaJ3Lei7cSJqHDPiKJCKFIF2c87YDfmCvAJke8QtE7IzjYDs7UFkTCM4ox+ph2bERUrxZbSCyEkHdjIZpKuMJfYWja/jgMqTMxdyOH9y8JLFbZsSXDIXDwqBlC6vVyl1fP90M35wuWcNTs6tctfVWVofEFbs="
-
GITTEST_INVASIVE_FS_SIZE=1
-
SKIP_APT=1
matrix
:
-
OPTIONS="-DTHREADSAFE=ON -DENABLE_TRACE=ON -DCMAKE_BUILD_TYPE=Release"
-
OPTIONS="-DTHREADSAFE=OFF -DBUILD_EXAMPLES=ON"
-
CMAKE_
OPTIONS="-DTHREADSAFE=ON -DENABLE_TRACE=ON -DCMAKE_BUILD_TYPE=Release"
-
CMAKE_
OPTIONS="-DTHREADSAFE=OFF -DBUILD_EXAMPLES=ON"
dist
:
trusty
osx_image
:
xcode8.3
...
...
@@ -52,21 +53,22 @@ matrix:
dist
:
trusty
-
compiler
:
gcc
env
:
-
VALGRIND=1
OPTIONS="-DBUILD_CLAR=ON -DBUILD_EXAMPLES=OFF -DDEBUG_POOL=ON -DCMAKE_BUILD_TYPE=Debug"
-
LEAK_CHECK=valgrind
CMAKE_
OPTIONS="-DBUILD_CLAR=ON -DBUILD_EXAMPLES=OFF -DDEBUG_POOL=ON -DCMAKE_BUILD_TYPE=Debug"
os
:
linux
dist
:
trusty
allow_failures
:
-
env
:
COVERITY=1
install
:
-
if [ -f ./
script/install-deps-${TRAVIS_OS_NAME}.sh ]; then ./script/install-deps
-${TRAVIS_OS_NAME}.sh; fi
-
if [ -f ./
ci/setup-${TRAVIS_OS_NAME}.sh ]; then ./ci/setup
-${TRAVIS_OS_NAME}.sh; fi
# Run the Build script and tests
script
:
-
script/cibuild.sh
-
script/citest.sh
-
script/cileaks.sh
-
mkdir build
-
cd build
-
if [ "$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
:
...
...
.vsts-ci.yml
View file @
6f8cc9b5
...
...
@@ -69,7 +69,7 @@ phases:
queue
:
name
:
'
Hosted
macOS
Preview'
steps
:
-
bash
:
. '$(Build.SourcesDirectory)/ci/setup-
macos
.sh'
-
bash
:
. '$(Build.SourcesDirectory)/ci/setup-
osx
.sh'
displayName
:
Setup
-
bash
:
. '$(Build.SourcesDirectory)/ci/build.sh'
displayName
:
Build
...
...
script
/coverity.sh
→
ci
/coverity.sh
View file @
6f8cc9b5
...
...
@@ -32,14 +32,11 @@ if [ ! -d "$TOOL_BASE" ]; then
ln
-s
"
$TOOL_DIR
"
"
$TOOL_BASE
"
/cov-analysis
fi
cp script/user_nodefs.h
"
$TOOL_BASE
"
/cov-analysis/config/user_nodefs.h
cp
../
script/user_nodefs.h
"
$TOOL_BASE
"
/cov-analysis/config/user_nodefs.h
COV_BUILD
=
"
$TOOL_BASE
/cov-analysis/bin/cov-build"
# Configure and build
rm
-rf
_build
mkdir _build
cd
_build
cmake ..
-DTHREADSAFE
=
ON
COVERITY_UNSUPPORTED
=
1
\
$COV_BUILD
--dir
cov-int
\
...
...
ci/setup-linux.sh
View file @
6f8cc9b5
#!/bin/sh
set
-e
set
-x
apt-get update
apt-get
-y
install build-essential pkg-config clang cmake openssl libssl-dev libssh2-1-dev libcurl4-gnutls-dev openssh-server
TMPDIR
=
${
TMPDIR
:-
/tmp
}
if
[
-z
"
$SKIP_APT
"
]
;
then
apt-get update
apt-get
-y
install build-essential pkg-config clang cmake openssl libssl-dev libssh2-1-dev libcurl4-gnutls-dev openssh-server
fi
mkdir
-p
/var/run/sshd
ci/setup-
macos
.sh
→
ci/setup-
osx
.sh
View file @
6f8cc9b5
File moved
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