update travis
This commit is contained in:
parent
f4859b37d8
commit
c61fac453d
20
.travis.yml
20
.travis.yml
@ -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
|
||||||
|
|
||||||
|
6
Makefile
6
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user