Feat: travis ci deploy

This commit is contained in:
HFO4 2020-03-11 19:02:38 +08:00
parent d0f04ca88e
commit de3a61561a

View file

@ -6,7 +6,7 @@ git:
install:
- go get github.com/rakyll/statik
- sudo apt-get -y install gcc-mingw-w64-x86-64
- sudo apt-get -y install gcc-arm-linux-gnueabihf
- sudo apt-get -y install gcc-arm-linux-gnueabihf,libc6-armhf
before_script:
- statik -src=models -f
- chmod +x ./build.sh
@ -18,7 +18,7 @@ deploy:
file_glob: true
file: release/*
draft: true
cleanup: true
skip_cleanup: true
# script:
# - go test -coverprofile=coverage.txt -covermode=atomic ./...
# after_success: