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
3e329861
Commit
3e329861
authored
Mar 10, 2015
by
Edward Thomson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Implement fail-fast for Travis as well"
This reverts commit
ba6c53b9
.
parent
d7c81945
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
12 deletions
+2
-12
script/cibuild.sh
+0
-10
script/install-deps-linux.sh
+1
-1
script/install-deps-osx.sh
+1
-1
No files found.
script/cibuild.sh
View file @
3e329861
#!/bin/sh
#!/bin/sh
# Fail fast for superseded builds to PR's
if
!
[
"
$TRAVIS_PULL_REQUEST
"
=
"false"
]
;
then
if
!
[
\"
$TRAVIS_BUILD_NUMBER
\"
=
$(
curl
-H
"Accept: application/vnd.travis-ci.2+json"
\
https://api.travis-ci.org/repos/libgit2/libgit2/builds?event_type
=
pull_request |
\
jq
".builds | map(select(.pull_request_number ==
$TRAVIS_PULL_REQUEST
))[0].number"
)
]
;
then
echo
"There are newer queued builds for this pull request, failing early."
exit
1
fi
fi
if
[
-n
"
$COVERITY
"
]
;
if
[
-n
"
$COVERITY
"
]
;
then
then
./script/coverity.sh
;
./script/coverity.sh
;
...
...
script/install-deps-linux.sh
View file @
3e329861
...
@@ -3,4 +3,4 @@
...
@@ -3,4 +3,4 @@
set
-x
set
-x
sudo
apt-get
-qq
update
&&
sudo
apt-get
-qq
update
&&
sudo
apt-get
-qq
install cmake libssh2-1-dev openssh-client openssh-server
jq
sudo
apt-get
-qq
install cmake libssh2-1-dev openssh-client openssh-server
script/install-deps-osx.sh
View file @
3e329861
...
@@ -2,4 +2,4 @@
...
@@ -2,4 +2,4 @@
set
-x
set
-x
brew install libssh2 cmake
jq
brew install libssh2 cmake
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