Do not fetch buffalo on travis (#1029)

This commit is contained in:
Manu Gupta
2019-01-05 09:44:53 -08:00
committed by Marwan Sulaiman
parent 5273eaaf1f
commit 53dd1c605e
2 changed files with 0 additions and 28 deletions
-26
View File
@@ -1,26 +0,0 @@
#!/bin/bash
set -xeo pipefail
case "$TRAVIS" in
true)
VERSION=0.12.4
TAR_GZ="buffalo_${VERSION}_linux_amd64.tar.gz"
URL="https://github.com/gobuffalo/buffalo/releases/download/v${VERSION}/${TAR_GZ}"
TARGET_BIN="$(pwd)/bin/buffalo"
TMPDIR=$(mktemp -d)
(
cd $TMPDIR
curl -L -o ${TAR_GZ} ${URL}
tar -xzf ${TAR_GZ}
mkdir -p $(dirname ${TARGET_BIN})
cp buffalo-no-sqlite ${TARGET_BIN}
chmod +x ${TARGET_BIN}
)
rm -r $TMPDIR
;;
*)
go get github.com/gobuffalo/buffalo/buffalo
;;
esac
-2
View File
@@ -5,5 +5,3 @@
set -xeuo pipefail
GO111MODULE=off go get golang.org/x/lint/golint
./scripts/get_buffalo.sh