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
2f3f1ee0
Commit
2f3f1ee0
authored
Sep 21, 2015
by
Carlos Martín Nieto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
proxy: test proxy support on Travis
parent
4e017413
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
script/cibuild.sh
+14
-0
No files found.
script/cibuild.sh
View file @
2f3f1ee0
...
...
@@ -49,12 +49,26 @@ export GITTEST_REMOTE_SSH_KEY="$HOME/.ssh/id_rsa"
export
GITTEST_REMOTE_SSH_PUBKEY
=
"
$HOME
/.ssh/id_rsa.pub"
export
GITTEST_REMOTE_SSH_PASSPHRASE
=
""
# Can we ask Travis to cache this file?
curl
-L
https://github.com/ethomson/poxyproxy/releases/download/v0.1.0/poxyproxy-0.1.0.jar
>
poxyproxy.jar
||
exit
$?
if
[
-e
./libgit2_clar
]
;
then
./libgit2_clar
-sonline
::push
-sonline
::clone::ssh_cert
&&
./libgit2_clar
-sonline
::clone::ssh_with_paths
||
exit
$?
if
[
"
$TRAVIS_OS_NAME
"
=
"linux"
]
;
then
./libgit2_clar
-sonline
::clone::cred_callback
||
exit
$?
fi
java
-jar
poxyproxy.jar
-d
--port
8080
--credentials
foo:bar &
export
GITTEST_REMOTE_PROXY_URL
=
"http://foo:bar@localhost:8080/"
./libgit2_clar
-sonline
::clone::proxy_credentials_in_url
export
GITTEST_REMOTE_PROXY_URL
=
"http://localhost:8080/"
export
GITTEST_REMOTE_PROXY_USER
=
"foo"
export
GITTEST_REMOTE_PROXY_PASS
=
"bar"
./libgit2_clar
-sonline
::clone::proxy_credentials_request
fi
export
GITTEST_REMOTE_URL
=
"https://github.com/libgit2/non-existent"
...
...
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