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
ba6c53b9
Commit
ba6c53b9
authored
Mar 03, 2015
by
Tony Kelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement fail-fast for Travis as well
parent
8008ab6a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
2 deletions
+12
-2
script/cibuild.sh
+10
-0
script/install-deps-linux.sh
+1
-1
script/install-deps-osx.sh
+1
-1
No files found.
script/cibuild.sh
View file @
ba6c53b9
#!/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
"
]
;
then
./script/coverity.sh
;
...
...
script/install-deps-linux.sh
View file @
ba6c53b9
...
...
@@ -3,4 +3,4 @@
set
-x
sudo
apt-get
-qq
update
&&
sudo
apt-get
-qq
install cmake libssh2-1-dev openssh-client openssh-server
sudo
apt-get
-qq
install cmake libssh2-1-dev openssh-client openssh-server
jq
script/install-deps-osx.sh
View file @
ba6c53b9
...
...
@@ -2,4 +2,4 @@
set
-x
brew install libssh2 cmake
brew install libssh2 cmake
jq
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