Disable coverage tests on Windows CI
The content unit-tests fail on Windows atm as they are not taking Windows specific behavior in account. Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
parent
2eaac7103b
commit
219c3e3996
@ -14,7 +14,8 @@ environment:
|
|||||||
|
|
||||||
before_build:
|
before_build:
|
||||||
- choco install -y mingw
|
- choco install -y mingw
|
||||||
- choco install codecov
|
# TODO: re-enable once the content unit-test have been updated to pass on windows
|
||||||
|
#- choco install codecov
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- bash.exe -lc "export PATH=/c/tools/mingw64/bin:/c/gopath/src/github.com/containerd/containerd/bin:$PATH ; mingw32-make.exe fmt"
|
- bash.exe -lc "export PATH=/c/tools/mingw64/bin:/c/gopath/src/github.com/containerd/containerd/bin:$PATH ; mingw32-make.exe fmt"
|
||||||
@ -26,9 +27,11 @@ 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 integration"
|
- bash.exe -lc "export PATH=/c/tools/mingw64/bin:/c/gopath/src/github.com/containerd/containerd/bin:$PATH ; mingw32-make.exe integration"
|
||||||
- bash.exe -lc "export PATH=/c/tools/mingw64/bin:/c/gopath/src/github.com/containerd/containerd/bin:$PATH ; mingw32-make.exe coverage"
|
# 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 root-coverage"
|
#- 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.
|
# Note that, a Codecov upload token is not required.
|
||||||
- codecov -f coverage.txt
|
# TODO: re-enable once the content unit-test have been updated to pass on windows
|
||||||
|
#- codecov -f coverage.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user