James Phillips
c83e465d90
Makes test target fail based on return code from go test.
2017-06-02 15:09:07 -07:00
Frank Schroeder
eac0f59d78
Revert "test: run all tests together again"
...
This reverts commit e48df7b57272f1075175d5bcd44746ec6eb8ca02.
2017-06-02 07:52:21 +02:00
Frank Schroeder
2f1947c862
test: run all tests together again
...
Looks like I have eliminated the troublesome tests for now.
2017-05-31 10:00:10 +02:00
Frank Schroeder
946428134e
build: update makefile
...
* capture all output to test.log only and print only failures
* always print output on travis
* test github.com/hashicorp/consul/consul separately until we've
found the interactions with the other packages during testing.
2017-05-31 00:29:28 +02:00
Frank Schroeder
96cdf3b9ae
build: add target for running tests with race detector
2017-05-31 00:29:25 +02:00
Frank Schroeder
5f1bd2aec0
test: capture stderr in test.log
2017-05-31 00:29:18 +02:00
Frank Schroeder
1f0a7511b0
test: simplify makefile
2017-05-12 22:12:47 +02:00
Frank Schroeder
cbb963b2eb
Add make target for linux binary
2017-05-04 13:31:56 +02:00
James Phillips
27188e5ec1
Merge pull request #2987 from sean-/b-fix-dev-paths
...
Fix `make dev` when the `bin/` directory doesn't exist.
2017-04-28 16:44:25 -07:00
Sean Chittenden
17ded857c7
Fix make dev
when the bin/
directory doesn't exist.
...
Without this patch you end up with a nifty consul build named `bin`,
not `bin/consul`.
2017-04-28 16:40:50 -07:00
Frank Schroeder
03e4644581
build: Use bash for building
2017-04-27 11:49:43 -07:00
Frank Schroeder
d60546e69d
build: Do not swallow go test exit code
2017-04-27 11:17:58 -07:00
Frank Schroeder
7227ee21c3
build: Simplify make test and log output
2017-04-27 10:34:30 -07:00
Frank Schröder
d4ee438cd7
Faster dev builds ( #2924 )
...
This patch runs 'go install' instead of gox which runs 'go build' for
'make dev' and copies the binary into ./bin and ./pkg/${GOOS}_${GOARCH}
to mimick the previous behavior. This reduces the roundtrip times
for a dev build from 11 sec to 500ms if there weren't any changes.
2017-04-18 15:03:51 -07:00
Seth Vargo
a9dd63ae93
Modernize makefile a bit
2017-03-23 20:29:32 -04:00
Sean Chittenden
5030aa5459
Revert 97904cec95f1a1fafd18405f0dd143eb63d595a9
2017-02-01 16:32:30 -08:00
Sean Chittenden
2b460466ed
Catch cross-compiliation build failures at Travis.
2017-02-01 10:22:27 -08:00
James Phillips
e01fde4007
Runs the static asset packaging inside the container; updates assets.
2016-11-08 15:14:08 -08:00
James Phillips
117a7a365e
Makes vendor pattern more generic.
2016-11-02 17:33:56 -07:00
James Phillips
9003454f88
Adds basic build tag support with different versions. ( #2463 )
2016-11-02 17:27:49 -07:00
James Phillips
e5210166e2
Adds a UI build in a Docker container. ( #2462 )
2016-11-02 15:53:02 -07:00
James Phillips
44f7ebce05
Only builds the binary stuff under master branch CI.
2016-10-25 13:49:57 -07:00
Sean Chittenden
888bfa71c7
Add tools/cmd/cover
to GOTOOLS
2016-05-07 13:02:12 -07:00
Sean Chittenden
79701fbf6d
golang.org/x/tools/cmd/vet is obsolete after Go1.5
...
`go tool vet` is builtin starting with Go 1.5
2016-05-07 13:01:07 -07:00
James Phillips
9ccfb68bce
Tweaks some of the default makefile targets.
2016-02-17 20:36:48 -08:00
James Phillips
7ec96d2468
Removes from cruft from the makefile.
2016-02-17 20:30:06 -08:00
James Phillips
d1925a3fe1
Makes vet check more sure fire now that it's xargs-ed.
2016-02-17 16:02:42 -08:00
Sean Chittenden
3ebd78013c
Don't run go vet
on vendor/
2016-02-12 18:52:40 -08:00
Sean Chittenden
8ae9e06e8d
Add a tools target that fetches various build-time tools
2016-02-12 17:09:18 -08:00
Sean Chittenden
333ff22e9a
Manage dependencies via Godep
...
Embrace the future and use Go 1.6's vendor support via Godep.
Go 1.5 users should `export GO15VENDOREXPERIMENT=1`
2016-02-12 16:50:37 -08:00
Sean Chittenden
c0046e0f30
Acknowledge that we're using GNU make's dialect and rename appropriate
...
Makefiles to GNUmakefiles so that non-GNU make(1) will error out. This
should be a transparent change to the universe of people using GNU make.
2016-02-05 14:24:26 -08:00