elvish/.appveyor.yml

17 lines
547 B
YAML
Raw Normal View History

2017-12-04 20:17:50 +08:00
platform: x64
clone_folder: c:\gopath\src\github.com\elves\elvish
environment:
GOPATH: c:\gopath
ELVISH_TEST_TIME_SCALE: 10
install:
# 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.
- set PATH=C:\msys64\usr\bin;%PATH%
build: off
before_test:
- go version
test_script:
- go test -coverprofile=cover -coverpkg=./pkg/... ./pkg/...
- curl -s https://codecov.io/bash -o codecov && bash codecov -f cover || ver > nul