2017-12-04 20:17:50 +08:00
|
|
|
platform: x64
|
|
|
|
clone_folder: c:\gopath\src\github.com\elves\elvish
|
|
|
|
environment:
|
|
|
|
GOPATH: c:\gopath
|
2020-04-04 04:45:50 +08:00
|
|
|
ELVISH_TEST_TIME_SCALE: 10
|
2020-04-06 06:30:38 +08:00
|
|
|
install:
|
2020-11-28 11:41:54 +08:00
|
|
|
# The codecov uploader depends on a POSIX shell and commands such as `find`
|
|
|
|
# so ensure the relevant Windows MSYS2 directory is in the external command
|
|
|
|
# search path.
|
2020-04-06 06:30:38 +08:00
|
|
|
- set PATH=C:\msys64\usr\bin;%PATH%
|
2020-04-06 05:28:41 +08:00
|
|
|
build: off
|
2020-04-06 05:26:55 +08:00
|
|
|
before_test:
|
|
|
|
- go version
|
2020-04-06 05:22:09 +08:00
|
|
|
test_script:
|
2020-11-28 11:41:54 +08:00
|
|
|
- go test -coverprofile=cover -coverpkg=./pkg/... ./pkg/...
|
|
|
|
- curl -s https://codecov.io/bash -o codecov && bash codecov -f cover || ver > nul
|