mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-24 19:44:46 +00:00
Merge pull request #2971 from ethomson/revert_fastfail
Revert "fastfail" from the mingw PR
This commit is contained in:
commit
c23f90053d
@ -26,10 +26,6 @@ cache:
|
||||
- x86_64-4.9.2-release-win32-seh-rt_v3-rev1.7z
|
||||
build_script:
|
||||
- ps: |
|
||||
if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod `
|
||||
https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | `
|
||||
Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
|
||||
throw "There are newer queued builds for this pull request, failing early." }
|
||||
mkdir build
|
||||
cd build
|
||||
if ($env:GENERATOR -ne "MSYS Makefiles") {
|
||||
|
@ -1,15 +1,5 @@
|
||||
#!/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;
|
||||
|
@ -3,4 +3,4 @@
|
||||
set -x
|
||||
|
||||
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
|
||||
|
@ -2,4 +2,4 @@
|
||||
|
||||
set -x
|
||||
|
||||
brew install libssh2 cmake jq
|
||||
brew install libssh2 cmake
|
||||
|
Loading…
Reference in New Issue
Block a user