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
services: docker
language: minimal
language: go
go:
- 1.12.x
install: skip
addons:
apt:

View File

@ -135,12 +135,7 @@ pushRicebox () {
cp ../http/rice-box.go ./
sed -i 's/package http/package caddy/g' ./rice-box.go
docker run --rm -t \
-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"
go get -u github.com/filebrowser/filebrowser/v2@latest
git checkout -b update-rice-box origin/master
git config --local user.name "Filebrowser Bot"