update appveyor to go 1.11, add support for code coverage generation in tests
This commit is contained in:
parent
826954c979
commit
b6bfbe97f8
@ -25,3 +25,7 @@ script:
|
||||
- ./runtests test
|
||||
- ./runtests gfmrun
|
||||
- ./runtests toc
|
||||
|
||||
after_success:
|
||||
- ./coverage.sh
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
|
@ -8,7 +8,7 @@ clone_folder: c:\gopath\src\github.com\urfave\cli
|
||||
|
||||
environment:
|
||||
GOPATH: C:\gopath
|
||||
GOVERSION: 1.8.x
|
||||
GOVERSION: 1.11.x
|
||||
PYTHON: C:\Python36-x64
|
||||
PYTHON_VERSION: 3.6.x
|
||||
PYTHON_ARCH: 64
|
||||
|
8
coverage.sh
Executable file
8
coverage.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
echo "" > coverage.txt
|
||||
|
||||
for f in $(ls *.coverprofile); do
|
||||
cat $f >> coverage.txt
|
||||
rm $f
|
||||
done
|
Loading…
Reference in New Issue
Block a user