Commit graph

43 commits

Author SHA1 Message Date
Alvin Huang 3fcc09928f
add release branch to travis (#5981) 2019-06-18 10:13:11 -04:00
R.B. Boyer b216c235d1 remove reference to deleted branch 2019-04-26 15:39:57 -05:00
Jeff Mitchell a41c865059
Convert to Go Modules (#5517)
* First conversion

* Use serf 0.8.2 tag and associated updated deps

* * Move freeport and testutil into internal/

* Make internal/ its own module

* Update imports

* Add replace statements so API and normal Consul code are
self-referencing for ease of development

* Adapt to newer goe/values

* Bump to new cleanhttp

* Fix ban nonprintable chars test

* Update lock bad args test

The error message when the duration cannot be parsed changed in Go 1.12
(ae0c435877d3aacb9af5e706c40f9dddde5d3e67). This updates that test.

* Update another test as well

* Bump travis

* Bump circleci

* Bump go-discover and godo to get rid of launchpad dep

* Bump dockerfile go version

* fix tar command

* Bump go-cleanhttp
2019-03-26 17:04:58 -04:00
R.B. Boyer 4809901d57 travis: enable branch builds for f-acl-ux and stop doing them for f-envoy 2019-02-13 14:05:09 -06:00
Matt Keeler 39f0687326
Update to Go 1.11.4 and UI build container (#5257)
* Update to Go 1.11.4

* Update to Go 1.11.4 for travis

* Update UI build to fix ember issues.
2019-01-23 12:56:39 -05:00
Paul Banks de9af1854b
Bump Go version for CI and build to 1.11.1 (#4782) 2018-10-11 12:21:53 +01:00
Pierre Souchay c4f5040d3d Enable compilation with Go 1.11 on Travis to avoid unstable tests (#4496)
* Enable compilation with Go 1.10 on Travis

There a minor compilation differences between Go 1.10 and 1.x
which is currently Go 1.11 beta.x such as new compilation
warnings.

It will show more obviously the errors in Travus when error
is linked for instance to a new compilation warning

* Compile only for Go 1.10 as requested by @pearkes

* Switch to golang 1.11 as requested by @pearkes
2018-10-03 14:49:48 -07:00
Paul Banks 18624befd6
Enable CI on f-envoy feature branch 2018-09-06 15:41:29 +01:00
freddygv bc80364e41 Move travis build env back to containers 2018-08-02 10:30:28 -04:00
Paul Banks b3771e2e6c
Refactor test retry to only affect CI (#4436)
* Refactor test retry to only affect CI

* Move test install deps out of the retry loop

* Add internal targets to PHONY too
2018-07-24 15:12:48 +01:00
Paul Banks ac2aa90735
Rule out quoting issue with Travis versioning 2018-07-02 16:53:31 +01:00
Paul Banks d638b246c4
Travis evaluates ENV before cloning git repo and cding so we need to delay gathering packages until the makefile 2018-02-21 12:54:23 +00:00
Paul Banks ed2ef973d6
Use relative paths as Travis doesn't setup GOPATH right 2018-02-21 12:27:30 +00:00
Paul Banks 7b448fdf43
Split the heavy test packages out to their own Jobs. 2018-02-21 12:20:33 +00:00
Paul Banks 2ad083d1bd
Try parallel packages but not tests 2018-02-21 11:58:51 +00:00
Jack Pearkes bcbf40c036 try enabling sudo in Travis to run builds in GCE
https://docs.travis-ci.com/user/reference/overview/#Virtualisation-Environment-vs-Operating-System
2018-02-20 10:52:51 -08:00
Paul Banks c5972f7e3a
Output from test as we run to stop travis killing us and try no parallelism to avoid timing issues on their contended CPUs 2018-02-20 13:16:53 +00:00
James Phillips 9b269cac14
Makes Travis build run less parallel.
This makes it run less packages in parallel as well as less parallel tests per package.
2018-02-07 17:17:00 -08:00
James Phillips 2d901bb460 Removes Go 1.8.x. 2017-09-07 09:20:52 -07:00
Davor Kapsa d27c9b47fa travis: clean go versions 2017-09-07 18:16:02 +02:00
Frank Schroeder 36e9ef4b1d
build: run vet on make test 2017-07-11 16:16:57 -07:00
James Phillips bf578807f4
Bumps Go version to 1.8.3. 2017-05-24 19:35:01 -07:00
Frank Schröder 222fe80f1f Bump travis.yml to Go 1.8.1 (#2955) 2017-04-25 08:21:44 -07:00
Seth Vargo a9dd63ae93
Modernize makefile a bit 2017-03-23 20:29:32 -04:00
James Phillips c447334203
Bumps Go version to 1.8. 2017-02-16 13:21:28 -08:00
James Phillips df2f720e0e Builds with Go 1.7.5 in Travis. 2017-01-26 15:03:18 -08:00
James Phillips dc5f4eaa50
Updates Consul to build with Go 1.7.4. 2017-01-25 20:05:04 -08:00
James Phillips 022fce0147 Upgrades to Go 1.7 and fixes vet finding and TLS behavior change. (#2281)
* Upgrades to Go 1.7 and fixes vet finding and TLS behavior change.

* Fixes unit tests in a better manner by closing the client connection on errors.

We traced through and realized that https://github.com/golang/go/issues/15709
causes the output from the client to get buffered, which cuts off the alert
feedback due to the flush() call getting bypassed by the error return.
2016-11-07 18:15:26 -08:00
James Phillips 44f7ebce05
Only builds the binary stuff under master branch CI. 2016-10-25 13:49:57 -07:00
James Phillips f03b59eca1 Bumps Travis to Go 1.6.3. 2016-08-16 15:25:43 -07:00
Sean Chittenden e7197bfa83
Bump Go to 1.6.2 for Travis (just added) 2016-05-08 22:10:42 -07:00
Sean Chittenden ec869292d6 Revert to Go 1.6 to see if that fixes Travis 2016-05-07 13:55:28 -07:00
Sean Chittenden b2ab5fa6b8 Bump Go to 1.6.1 2016-05-07 13:25:29 -07:00
James Phillips 207017d673 Takes away Go tip build which is failing for odd reasons.
This should cut down on build noise. When we get further with 1.6 we can reintroduce the tip build to help spot issues with the next version of Go.
2016-02-18 15:50:04 -08:00
James Phillips bb54771832 Starts switch to Go 1.6. 2016-02-17 19:43:55 -08:00
James Phillips c57477deb5 Removes the obsolete deps target from Travis. 2016-02-12 18:41:33 -08:00
James Phillips e1882d5812 Un-pins Go version so we always run CI with the latest. 2016-01-07 18:31:29 -08:00
James Phillips 5d555d82aa Pins Go to 1.5.2 in Travis until we figure out #1524. 2015-12-17 11:21:51 -08:00
Ryan Uber 3d86a969ee travis-ci: use newer build infra 2015-07-28 09:13:25 -07:00
Ryan Uber b3efc50a2a Use test target for travis-ci, remove flowdock 2015-06-12 17:02:34 -07:00
Ryan Uber 6358f7d9a6 Only build pushes to master and PR's on travis 2015-02-17 12:33:08 -08:00
Ryan Uber 812aee1e9a Remove go 1.2 from Travis config 2015-01-07 12:46:21 -08:00
Armon Dadgar 15a806c011 Adding Travis file 2014-04-19 13:40:38 -07:00