Test Longer Tests in Travis (#2570)

* Test Longer Tests in Travis

Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>

* Make test Target Run All Tests

* Add test-short to run short tests

test is running all the tests now as we are running make tests in
CircleCI and I think the base image is shared across Prometheus Org.

Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>

* Remove Empty Line

Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
pull/2599/head
Goutham Veeramachaneni 8 years ago committed by Julius Volz
parent 934d86b936
commit cffb1acf7f

@ -36,10 +36,14 @@ check_license:
@echo ">> checking license header"
@./scripts/check_license.sh
test:
test-short:
@echo ">> running short tests"
@$(GO) test -short $(pkgs)
test:
@echo ">> running all tests"
@$(GO) test $(pkgs)
format:
@echo ">> formatting code"
@$(GO) fmt $(pkgs)

@ -81,6 +81,7 @@ The Makefile provides several targets:
* *build*: build the `prometheus` and `promtool` binaries
* *test*: run the tests
* *test-short*: run the short tests
* *format*: format the source code
* *vet*: check the source code for common errors
* *assets*: rebuild the static assets

Loading…
Cancel
Save