Commit 3e329861145bcd106023e73a3098f24b79e54c16

Edward Thomson 2015-03-10T16:08:34

Revert "Implement fail-fast for Travis as well" This reverts commit ba6c53b91b1d9c9dc49b7c0d8e8efbd9842c31dc.

diff --git a/script/cibuild.sh b/script/cibuild.sh
index 82cf725..8983dcc 100755
--- a/script/cibuild.sh
+++ b/script/cibuild.sh
@@ -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;
diff --git a/script/install-deps-linux.sh b/script/install-deps-linux.sh
index 3eb57ce..347922b 100755
--- a/script/install-deps-linux.sh
+++ b/script/install-deps-linux.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
diff --git a/script/install-deps-osx.sh b/script/install-deps-osx.sh
index ad6a7b4..c2e0162 100755
--- a/script/install-deps-osx.sh
+++ b/script/install-deps-osx.sh
@@ -2,4 +2,4 @@
 
 set -x
 
-brew install libssh2 cmake jq
+brew install libssh2 cmake