Feat: cross compile script

This commit is contained in:
Aaron
2020-03-10 02:39:19 +00:00
parent 98c122f047
commit d80446d30f
4 changed files with 31 additions and 11 deletions

View File

@@ -3,7 +3,12 @@ go:
- 1.13.x
git:
depth: 1
script:
- go test -coverprofile=coverage.txt -covermode=atomic ./...
after_success:
- bash <(curl -s https://codecov.io/bash)
install:
- sudo apt install gcc-mingw-w64
- chmod +x ./build.sh
script:
- ./build.sh -r b
# script:
# - go test -coverprofile=coverage.txt -covermode=atomic ./...
# after_success:
# - bash <(curl -s https://codecov.io/bash)