update travis

This commit is contained in:
jason-gao 2019-12-09 17:40:25 +08:00
parent f4859b37d8
commit c61fac453d
3 changed files with 20 additions and 8 deletions

View File

@ -5,11 +5,17 @@ go:
- 1.13.x - 1.13.x
- master - master
script:
- go build notifications:
- ./fileboy version email:
- ./fileboy help recipients:
- ./fileboy init - 3048789891@qq.com
- cat filegirl.yaml on_success: change # default: change
- ./fileboy exec on_failure: always # default: always
script:
- make init
- make build-mac
- make start-mac

View File

@ -25,15 +25,21 @@ build-win: ;@echo "编译-windows版";
build-all: build-mac build-linux build-win build-all: build-mac build-linux build-win
start-linux: ;@echo "启动服务"; start-linux: ;@echo "启动服务";
./bin/fileboy-linux-amd64.bin help
./bin/fileboy-linux-amd64.bin init ./bin/fileboy-linux-amd64.bin init
cat filegirl.yaml
./bin/fileboy-linux-amd64.bin ./bin/fileboy-linux-amd64.bin
start-mac: ;@echo "启动服务"; start-mac: ;@echo "启动服务";
./bin/fileboy-darwin-amd64.bin help
./bin/fileboy-darwin-amd64.bin init ./bin/fileboy-darwin-amd64.bin init
cat filegirl.yaml
./bin/fileboy-darwin-amd64.bin ./bin/fileboy-darwin-amd64.bin
start-win: ;@echo "启动服务"; start-win: ;@echo "启动服务";
./bin/fileboy-windows-amd64.exe help
./bin/fileboy-windows-amd64.exe init ./bin/fileboy-windows-amd64.exe init
cat filegirl.yaml
./bin/fileboy-windows-amd64.exe ./bin/fileboy-windows-amd64.exe
build-start-mac: build-mac start-mac build-start-mac: build-mac start-mac