diff --git a/.gitignore b/.gitignore index b4d8ee8..937cfc3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ rootfs/bin/minio rootfs/bin/boot vendor/ +coverage.txt diff --git a/.travis.yml b/.travis.yml index 1fc0a36..ab95bba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,6 @@ sudo: required install: - make bootstrap script: - - DEIS_REGISTRY='' make test build docker-build + - DEIS_REGISTRY='' make test-cover build docker-build after_success: - bash <(curl -s https://codecov.io/bash) diff --git a/Makefile b/Makefile index b3f5c64..c8f3284 100644 --- a/Makefile +++ b/Makefile @@ -33,6 +33,9 @@ build: test: ${DEV_ENV_CMD} go test ${TEST_PACKAGES} +test-cover: + ${DEV_ENV_CMD} test-cover.sh + docker-build: build # build the main image docker build --rm -t ${IMAGE} rootfs diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..2e5537b --- /dev/null +++ b/codecov.yml @@ -0,0 +1,3 @@ +codecov: + branch: master + slug: "deis/minio"