Re-enable unit tests on appveyor
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
This commit is contained in:
parent
a542cf7dac
commit
5025b53704
@ -20,24 +20,18 @@ before_build:
|
|||||||
- appveyor DownloadFile https://storage.googleapis.com/golang/go%GO_VERSION%.windows-amd64.zip
|
- appveyor DownloadFile https://storage.googleapis.com/golang/go%GO_VERSION%.windows-amd64.zip
|
||||||
- 7z x go%GO_VERSION%.windows-amd64.zip -oC:\ >nul
|
- 7z x go%GO_VERSION%.windows-amd64.zip -oC:\ >nul
|
||||||
- go version
|
- go version
|
||||||
# TODO: re-enable once the content unit-test have been updated to pass on windows
|
- choco install codecov
|
||||||
#- choco install codecov
|
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- bash.exe -elc "export PATH=/c/tools/mingw64/bin:/c/gopath/bin:$PATH ; mingw32-make.exe setup check"
|
- bash.exe -elc "export PATH=/c/tools/mingw64/bin:/c/gopath/bin:$PATH ; mingw32-make.exe setup check"
|
||||||
- bash.exe -elc "export PATH=/c/tools/mingw64/bin:$PATH ; mingw32-make.exe build"
|
- bash.exe -elc "export PATH=/c/tools/mingw64/bin:$PATH ; mingw32-make.exe build binaries"
|
||||||
- bash.exe -elc "export PATH=/c/tools/mingw64/bin:$PATH ; mingw32-make.exe binaries"
|
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
# TODO: need an equivalent of TRAVIS_COMMIT_RANGE
|
# TODO: need an equivalent of TRAVIS_COMMIT_RANGE
|
||||||
# - GIT_CHECK_EXCLUDE="./vendor" TRAVIS_COMMIT_RANGE="${TRAVIS_COMMIT_RANGE/.../..}" C:\MinGW\bin\mingw32-make.exe dco
|
# - GIT_CHECK_EXCLUDE="./vendor" TRAVIS_COMMIT_RANGE="${TRAVIS_COMMIT_RANGE/.../..}" C:\MinGW\bin\mingw32-make.exe dco
|
||||||
|
- bash.exe -lc "export PATH=/c/tools/mingw64/bin:/c/gopath/src/github.com/containerd/containerd/bin:$PATH ; mingw32-make.exe coverage root-coverage"
|
||||||
- bash.exe -elc "export PATH=/c/tools/mingw64/bin:/c/gopath/src/github.com/containerd/containerd/bin:$PATH ; mingw32-make.exe integration"
|
- bash.exe -elc "export PATH=/c/tools/mingw64/bin:/c/gopath/src/github.com/containerd/containerd/bin:$PATH ; mingw32-make.exe integration"
|
||||||
- bash.exe -elc "export PATH=/c/tools/mingw64/bin:/c/gopath/src/github.com/containerd/containerd/bin:$PATH ; mingw32-make.exe integration-parallel"
|
- bash.exe -elc "export PATH=/c/tools/mingw64/bin:/c/gopath/src/github.com/containerd/containerd/bin:$PATH ; mingw32-make.exe integration-parallel"
|
||||||
# TODO: re-enable once the content unit-test have been updated to pass on windows
|
|
||||||
#- bash.exe -lc "export PATH=/c/tools/mingw64/bin:/c/gopath/src/github.com/containerd/containerd/bin:$PATH ; mingw32-make.exe coverage"
|
|
||||||
#- bash.exe -lc "export PATH=/c/tools/mingw64/bin:/c/gopath/src/github.com/containerd/containerd/bin:$PATH ; mingw32-make.exe root-coverage"
|
|
||||||
|
|
||||||
on_success:
|
on_success:
|
||||||
# Note that, a Codecov upload token is not required.
|
codecov --flag windows
|
||||||
# TODO: re-enable once the content unit-test have been updated to pass on windows
|
|
||||||
#- codecov -f coverage.txt
|
|
||||||
|
@ -65,7 +65,7 @@ script:
|
|||||||
- if [ "$GOOS" = "linux" ]; then sudo PATH=$PATH GOPATH=$GOPATH make integration-parallel ; fi
|
- if [ "$GOOS" = "linux" ]; then sudo PATH=$PATH GOPATH=$GOPATH make integration-parallel ; fi
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- bash <(curl -s https://codecov.io/bash)
|
- bash <(curl -s https://codecov.io/bash) -F linux
|
||||||
|
|
||||||
before_deploy:
|
before_deploy:
|
||||||
- make release
|
- make release
|
||||||
|
Loading…
Reference in New Issue
Block a user