mirror of
https://github.com/rclone/rclone.git
synced 2024-11-23 19:33:25 +08:00
15 lines
516 B
YAML
15 lines
516 B
YAML
dependencies:
|
|
override:
|
|
- mkdir -p ~/.go_workspace/src/github.com/goftp
|
|
- ln -s ${HOME}/${CIRCLE_PROJECT_REPONAME} ${HOME}/.go_workspace/src/github.com/goftp/${CIRCLE_PROJECT_REPONAME}
|
|
# './...' is a relative pattern which means all subdirectories
|
|
- go get -t -d -v ./...
|
|
- go build -v
|
|
|
|
test:
|
|
override:
|
|
# './...' is a relative pattern which means all subdirectories
|
|
- go test -v -race -coverprofile=coverage.txt -covermode=atomic
|
|
post:
|
|
- bash <(curl -s https://codecov.io/bash)
|