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
8f9d2bbf
Commit
8f9d2bbf
authored
Jul 26, 2017
by
Edward Thomson
Committed by
GitHub
Jul 26, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4317 from libgit2/ethomson/libcurl_build
Build with patched libcurl
parents
20d30000
c582fa4e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
12 deletions
+17
-12
.travis.yml
+3
-11
script/cibuild.sh
+2
-1
script/install-deps-linux.sh
+12
-0
No files found.
.travis.yml
View file @
8f9d2bbf
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
# see travis-ci.org for details
# see travis-ci.org for details
language
:
c
language
:
c
dist
:
trusty
os
:
os
:
-
linux
-
linux
...
@@ -20,17 +21,8 @@ env:
...
@@ -20,17 +21,8 @@ env:
-
OPTIONS="-DTHREADSAFE=ON -DCMAKE_BUILD_TYPE=Release"
-
OPTIONS="-DTHREADSAFE=ON -DCMAKE_BUILD_TYPE=Release"
-
OPTIONS="-DTHREADSAFE=OFF -DBUILD_EXAMPLES=ON"
-
OPTIONS="-DTHREADSAFE=OFF -DBUILD_EXAMPLES=ON"
addons
:
apt
:
packages
:
-
cmake
-
libssh2-1-dev
-
openssh-client
-
openssh-server
-
valgrind
dist
:
trusty
dist
:
trusty
sudo
:
fals
e
sudo
:
tru
e
matrix
:
matrix
:
fast_finish
:
true
fast_finish
:
true
...
@@ -56,7 +48,7 @@ matrix:
...
@@ -56,7 +48,7 @@ matrix:
-
env
:
COVERITY=1
-
env
:
COVERITY=1
install
:
install
:
-
if [ "$TRAVIS_OS_NAME" = "osx" ]; then ./script/install-deps-${TRAVIS_OS_NAME}.sh; fi
-
./script/install-deps-${TRAVIS_OS_NAME}.sh
# Run the Build script and tests
# Run the Build script and tests
script
:
script
:
...
...
script/cibuild.sh
View file @
8f9d2bbf
...
@@ -50,6 +50,7 @@ cat >~/sshd/sshd_config<<-EOF
...
@@ -50,6 +50,7 @@ cat >~/sshd/sshd_config<<-EOF
ListenAddress 0.0.0.0
ListenAddress 0.0.0.0
Protocol 2
Protocol 2
HostKey
${
HOME
}
/sshd/id_rsa
HostKey
${
HOME
}
/sshd/id_rsa
PidFile
${
HOME
}
/sshd/pid
RSAAuthentication yes
RSAAuthentication yes
PasswordAuthentication yes
PasswordAuthentication yes
PubkeyAuthentication yes
PubkeyAuthentication yes
...
@@ -99,7 +100,7 @@ if [ -e ./libgit2_clar ]; then
...
@@ -99,7 +100,7 @@ if [ -e ./libgit2_clar ]; then
fi
fi
kill
all sshd
kill
$(
cat
"
$HOME
/sshd/pid"
)
export
GITTEST_REMOTE_URL
=
"https://github.com/libgit2/non-existent"
export
GITTEST_REMOTE_URL
=
"https://github.com/libgit2/non-existent"
export
GITTEST_REMOTE_USER
=
"libgit2test"
export
GITTEST_REMOTE_USER
=
"libgit2test"
...
...
script/install-deps-linux.sh
0 → 100755
View file @
8f9d2bbf
#!/bin/sh
set
-x
if
[
-z
"
$PRECISE
"
]
;
then
echo
"deb http://libgit2deps.edwardthomson.com trusty libgit2deps"
|
sudo
tee
-a
/etc/apt/sources.list
sudo
apt-key adv
--keyserver
pgp.mit.edu
--recv
99131CD5
sudo
apt-get update
-qq
sudo
apt-get install
-y
curl libcurl3 libcurl3-gnutls libcurl4-gnutls-dev
fi
sudo
apt-get install
-y
cmake libssh2-1-dev openssh-client openssh-server valgrind
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