mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-14 02:57:52 +08:00
0c9014114e
Codecov's API endpoint is sometimes unstable. The CI should not fail when the upload fails.
15 lines
443 B
YAML
15 lines
443 B
YAML
platform: x64
|
|
clone_folder: c:\gopath\src\github.com\elves\elvish
|
|
environment:
|
|
GOPATH: c:\gopath
|
|
ELVISH_TEST_TIME_SCALE: 10
|
|
install:
|
|
# Needed since the codecov uploader depends on a UNIX "find" command.
|
|
- set PATH=C:\msys64\usr\bin;%PATH%
|
|
build: off
|
|
before_test:
|
|
- go version
|
|
test_script:
|
|
- go test -coverprofile=coverage -covermode=set ./...
|
|
- curl -s https://codecov.io/bash -o codecov && bash codecov -f coverage || ver > nul
|