feat: use go 1.12x

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
This commit is contained in:
Henrique Dias 2019-05-11 11:20:00 +01:00
parent f1b7e268e5
commit 30f685a347
2 changed files with 4 additions and 7 deletions

View File

@ -1,6 +1,8 @@
os: linux os: linux
services: docker services: docker
language: minimal language: go
go:
- 1.12.x
install: skip install: skip
addons: addons:
apt: apt:

View File

@ -135,12 +135,7 @@ pushRicebox () {
cp ../http/rice-box.go ./ cp ../http/rice-box.go ./
sed -i 's/package http/package caddy/g' ./rice-box.go sed -i 's/package http/package caddy/g' ./rice-box.go
docker run --rm -t \ go get -u github.com/filebrowser/filebrowser/v2@latest
-v $(pwd):/src \
-w /src \
-v /var/run/docker.sock:/var/run/docker.sock \
filebrowser/dev \
sh -c "go get -u github.com/filebrowser/filebrowser/v2@latest"
git checkout -b update-rice-box origin/master git checkout -b update-rice-box origin/master
git config --local user.name "Filebrowser Bot" git config --local user.name "Filebrowser Bot"