Commit Graph

43 Commits

Author SHA1 Message Date
Alvin Huang aee7807899
add release branch to travis (#5981) 2019-06-18 10:13:11 -04:00
R.B. Boyer 975c4b87d6 remove reference to deleted branch 2019-04-26 15:39:57 -05:00
Jeff Mitchell 47c390025b
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 46de2c5504 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 ec712b7ecf
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 f0c06a912e
Bump Go version for CI and build to 1.11.1 (#4782) 2018-10-11 12:21:53 +01:00
Pierre Souchay 27729208e6 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 af7c6cdfbb
Enable CI on f-envoy feature branch 2018-09-06 15:41:29 +01:00
freddygv cb9a28dfda Move travis build env back to containers 2018-08-02 10:30:28 -04:00
Paul Banks 16200e4c75
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 84ece6a4ee
Rule out quoting issue with Travis versioning 2018-07-02 16:53:31 +01:00
Paul Banks 7b85f09d59
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 0166b34b5d
Use relative paths as Travis doesn't setup GOPATH right 2018-02-21 12:27:30 +00:00
Paul Banks 41ae19c677
Split the heavy test packages out to their own Jobs. 2018-02-21 12:20:33 +00:00
Paul Banks 6272148d1f
Try parallel packages but not tests 2018-02-21 11:58:51 +00:00
Jack Pearkes 390487866f 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 e416f828dc
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 beee26cd48
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 c4d00962e0 Removes Go 1.8.x. 2017-09-07 09:20:52 -07:00
Davor Kapsa fe7b79a2db travis: clean go versions 2017-09-07 18:16:02 +02:00
Frank Schroeder 9e83a034e3
build: run vet on make test 2017-07-11 16:16:57 -07:00
James Phillips a9627470f7
Bumps Go version to 1.8.3. 2017-05-24 19:35:01 -07:00
Frank Schröder 074299e6e9 Bump travis.yml to Go 1.8.1 (#2955) 2017-04-25 08:21:44 -07:00
Seth Vargo 0a04d23f50
Modernize makefile a bit 2017-03-23 20:29:32 -04:00
James Phillips 0070e449fe
Bumps Go version to 1.8. 2017-02-16 13:21:28 -08:00
James Phillips 768325ca2b Builds with Go 1.7.5 in Travis. 2017-01-26 15:03:18 -08:00
James Phillips db06c06cf0
Updates Consul to build with Go 1.7.4. 2017-01-25 20:05:04 -08:00
James Phillips 6de74c60a4 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 5a06d5eefc
Only builds the binary stuff under master branch CI. 2016-10-25 13:49:57 -07:00
James Phillips 917827d2af Bumps Travis to Go 1.6.3. 2016-08-16 15:25:43 -07:00
Sean Chittenden ae6cd89dd8
Bump Go to 1.6.2 for Travis (just added) 2016-05-08 22:10:42 -07:00
Sean Chittenden 2443830909 Revert to Go 1.6 to see if that fixes Travis 2016-05-07 13:55:28 -07:00
Sean Chittenden 2baa593cde Bump Go to 1.6.1 2016-05-07 13:25:29 -07:00
James Phillips aa5806a1df 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 a8f8d63460 Starts switch to Go 1.6. 2016-02-17 19:43:55 -08:00
James Phillips 5937db50e3 Removes the obsolete deps target from Travis. 2016-02-12 18:41:33 -08:00
James Phillips d8cb2f6ba8 Un-pins Go version so we always run CI with the latest. 2016-01-07 18:31:29 -08:00
James Phillips edec9cb55d Pins Go to 1.5.2 in Travis until we figure out #1524. 2015-12-17 11:21:51 -08:00
Ryan Uber 3ad7a53095 travis-ci: use newer build infra 2015-07-28 09:13:25 -07:00
Ryan Uber 676920c000 Use test target for travis-ci, remove flowdock 2015-06-12 17:02:34 -07:00
Ryan Uber 578a4fd9cc Only build pushes to master and PR's on travis 2015-02-17 12:33:08 -08:00
Ryan Uber c58dd8f872 Remove go 1.2 from Travis config 2015-01-07 12:46:21 -08:00
Armon Dadgar c2c1382d9f Adding Travis file 2014-04-19 13:40:38 -07:00