feat: use go 1.12x

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>

Former-commit-id: 1099ae5d7f6c132cf891e060de7c88f96d656f09 [formerly ea50b2c0686431e5728258fd02ad3a9e907c9349] [formerly 33237bb474abe7524a51501f797ca7cdae44c33f [formerly 30f685a347]]
Former-commit-id: 0669d58fb6dc75a63b6e16857d7a4e09a6ba806f [formerly f4d38b4fbf2a7aa234c1c7cacc743fc386f5fa20]
Former-commit-id: 8391f23eaa62ca9a4599c327b8418d9593ad110b
This commit is contained in:
Henrique Dias 2019-05-11 11:20:00 +01:00
parent 51f34eaadb
commit f5b3ab8db6
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"