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
e523826c
Commit
e523826c
authored
Oct 07, 2017
by
Edward Thomson
Committed by
GitHub
Oct 07, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4321 from libgit2/ethomson/libcurl_build
travis: add custom apt sources
parents
668fa071
9dc21efd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
15 deletions
+18
-15
.travis.yml
+18
-3
script/install-deps-linux.sh
+0
-12
No files found.
.travis.yml
View file @
e523826c
...
...
@@ -2,7 +2,6 @@
# see travis-ci.org for details
language
:
c
dist
:
trusty
os
:
-
linux
...
...
@@ -22,7 +21,23 @@ env:
-
OPTIONS="-DTHREADSAFE=OFF -DBUILD_EXAMPLES=ON -DENABLE_WERROR=ON"
dist
:
trusty
sudo
:
true
sudo
:
false
addons
:
apt
:
sources
:
-
sourceline
:
'
deb
http://libgit2deps.edwardthomson.com
trusty
libgit2deps'
key_url
:
'
https://pgp.mit.edu/pks/lookup?op=get&search=0x5656187599131CD5'
packages
:
cmake
curl
libcurl3
libcurl3-gnutls
libcurl4-gnutls-dev
libssh2-1-dev
openssh-client
openssh-server
valgrind
matrix
:
fast_finish
:
true
...
...
@@ -44,7 +59,7 @@ matrix:
-
env
:
COVERITY=1
install
:
-
./script/install-deps-${TRAVIS_OS_NAME}.sh
-
if [ -f ./script/install-deps-${TRAVIS_OS_NAME}.sh ]; then ./script/install-deps-${TRAVIS_OS_NAME}.sh; fi
# Run the Build script and tests
script
:
...
...
script/install-deps-linux.sh
deleted
100755 → 0
View file @
668fa071
#!/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