1
0
mirror of https://github.com/docker/docs.git synced 2026-10-29 20:39:05 +03:00

Exclude CLI from unit tests coverage

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2015-04-18 20:19:47 -07:00
parent 86ed98baa2
commit 44335ceb3a

View File

@@ -4,8 +4,8 @@ MODE="mode: count"
ROOT=${TRAVIS_BUILD_DIR:-.}/../../..
# Grab the list of packages.
# Exclude the API from coverage as it will be covered by integration tests.
PACKAGES=`go list ./... | grep -v github.com/docker/swarm/api`
# Exclude the API and CLI from coverage as it will be covered by integration tests.
PACKAGES=`go list ./... | grep -v github.com/docker/swarm/api | grep -v github.com/docker/swarm/cli`
# Create the empty coverage file.
echo $MODE > goverage.report