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
b4d2c7cb
Commit
b4d2c7cb
authored
Jun 27, 2015
by
Carlos Martín Nieto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3264 from arthurschreiber/fast-builds
Fast builds?
parents
cfafeb84
32f538ae
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
10 deletions
+12
-10
.travis.yml
+12
-2
script/cibuild.sh
+0
-2
script/install-deps-linux.sh
+0
-6
No files found.
.travis.yml
View file @
b4d2c7cb
...
...
@@ -20,6 +20,17 @@ env:
-
OPTIONS="-DTHREADSAFE=ON -DCMAKE_BUILD_TYPE=Release"
-
OPTIONS="-DTHREADSAFE=OFF -DBUILD_EXAMPLES=ON"
addons
:
apt
:
packages
:
-
cmake
-
libssh2-1-dev
-
openssh-client
-
openssh-server
-
valgrind
sudo
:
false
matrix
:
fast_finish
:
true
exclude
:
...
...
@@ -44,7 +55,7 @@ matrix:
OPTIONS="-DBUILD_CLAR=ON -DBUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=Debug"
install
:
-
./script/install-deps-${TRAVIS_OS_NAME}.sh
-
if [ "$TRAVIS_OS_NAME" = "osx" ]; then ./script/install-deps-${TRAVIS_OS_NAME}.sh; fi
# Run the Build script and tests
script
:
...
...
@@ -52,7 +63,6 @@ script:
# Run Tests
after_success
:
-
if [ "$TRAVIS_OS_NAME" = "linux" -a -n "$VALGRIND" ]; then sudo apt-get -qq install valgrind; fi
-
if [ "$TRAVIS_OS_NAME" = "linux" -a -n "$VALGRIND" ]; then valgrind --leak-check=full --show-reachable=yes --suppressions=./libgit2_clar.supp _build/libgit2_clar -ionline; fi
# Only watch the development and master branches
...
...
script/cibuild.sh
View file @
b4d2c7cb
...
...
@@ -34,8 +34,6 @@ killall git-daemon
if
[
"
$TRAVIS_OS_NAME
"
=
"osx"
]
;
then
echo
'PasswordAuthentication yes'
|
sudo
tee
-a
/etc/sshd_config
else
sudo
start ssh
fi
ssh-keygen
-t
rsa
-f
~/.ssh/id_rsa
-N
""
-q
...
...
script/install-deps-linux.sh
deleted
100755 → 0
View file @
cfafeb84
#!/bin/sh
set
-x
sudo
apt-get
-qq
update
&&
sudo
apt-get
-qq
install cmake libssh2-1-dev openssh-client openssh-server
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