Commit cffb1acf authored by Goutham Veeramachaneni's avatar Goutham Veeramachaneni Committed by Julius Volz
Browse files

Test Longer Tests in Travis (#2570)



* Test Longer Tests in Travis
Signed-off-by: default avatarGoutham 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: default avatarGoutham Veeramachaneni <cs14btech11014@iith.ac.in>

* Remove Empty Line
Signed-off-by: default avatarGoutham Veeramachaneni <cs14btech11014@iith.ac.in>
parent 934d86b9
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment