Commit Graph

37 Commits

Author SHA1 Message Date
Simon Pasquier e490cf5202 Add Go 1.12 to Travis CI
Also update to the latest version of Makefile.common.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-03-04 14:17:42 +01:00
beorn7 2c6e80549e Add Go 1.11.
Since the staticcheck support for older Go versions will disappear,
update the exclusion regexp.

Signed-off-by: beorn7 <beorn@soundcloud.com>
2018-09-19 12:24:24 +02:00
beorn7 db9651a839 Add test-short target and use it in CI
This is reinstating the old behavior. The longer tests are not only
long but also flaky. (The former is by design, the latter is a bug.)

Signed-off-by: beorn7 <beorn@soundcloud.com>
2018-08-28 15:13:08 +02:00
Guillaume Le Floch 4eb539fa85 Add prometheus common makefile (#446)
* Add prometheus common makefile
* Override test target to depends on get_dep
* Exclude staticcheck for go version 1.7.x and 1.8.x

Signed-off-by: glefloch <glfloch@gmail.com>
2018-08-24 12:10:16 +02:00
Ben Kochie adeda94c12
Update travis Go versions
* Add Go 1.10.x.
* Fix indenting.

Signed-off-by: Ben Kochie <superq@gmail.com>
2018-05-18 16:26:59 +02:00
beorn7 36f4ab6bce Drop Go1.6 support, add test for Go1.9
Also, document the version requirement.
2017-09-06 15:36:30 +02:00
stuart nelson d300d5cf21 Instrument RoundTripper via middleware (#295)
Instrument RoundTripper via middleware
2017-05-09 18:46:09 +02:00
Fabian Reinartz a2588d79ba Use go 1.6.3 2016-08-29 10:56:19 +02:00
Fabian Reinartz 91a6ade697 update Go version for CI 2016-08-29 08:10:35 +02:00
beorn7 82a2759dc8 Update Go version .travis.yml
Currently, the travis build doesn't work because the dependencies
require Go1.5.
2016-05-27 15:26:51 +02:00
Fabian Reinartz 7ca3eb1775 Set sudo=false for travis CI 2015-08-19 16:13:11 +02:00
Fabian Reinartz 71b95dc48e Remove vendoring 2015-08-19 16:13:11 +02:00
Julius Volz deef44ca73 Update used Go version from 1.2.1 to 1.4. 2014-12-19 14:18:46 +01:00
Bjoern Rabenstein 5d40912fd2 Complete rewrite of the exposition library.
This rewrite had may backs and forths. In my git repository, it
consists of 35 commits which I cannot group or merge into reasonable
review buckets. Gerrit breaks fundamental git semantics, so I have to
squash the 35 commits into one for the review.

I'll push this not with refs/for/master, but with refs/for/next so
that we can transition after submission in a controlled fashion.

For the review, I recommend to start with looking at godoc and in
particular the many examples. After that, continue with a line-by-line
detailed review. (The big picture is hopefully as expected after
wrapping up the discussion earlier.)

Change-Id: Ib38cc46493a5139ca29d84020650929d94cac850
2014-06-17 14:08:22 +02:00
Matt T. Proud 624e57d292 Enclose artifact generation process into Makefile.
Completely decouple the build process from Travis and other things we
cannot control.
2013-07-21 17:45:53 +02:00
Matt T. Proud 85899b3f4a Extract core Prometheus value decoders.
Bernerd had suggested extracting the value decoders and bundling them
into the client library.  After some reflection, I tend to agree with
this, since we can start breaking the onion of Prometheus itself and
localize the protocol management into its own scope.

A couple of major changes since moving:

- Protocol 0.0.2 has moved to a struct{} so that our tests can perform
  value matching, which cannot be done against function literals.

- Processing now acquires options to dictate behavioral changes of
  metrics bodies.

- Processing no longer closes the stream, thusly returning this to the
  hands of the caller.

- Process() has been renamed to ProcessSingle to better convey that it
  works on complete message bodies.  This paves the way for better
  streaming payload support that the next API version will offer.
2013-06-10 19:35:41 +02:00
Matt T. Proud f320d28a6c Rearrange file and package per convention.
WIP - Please review but do not merge.
2013-04-04 15:27:09 +02:00
Matt T. Proud 989a398e79 Update paths to new repository location. 2013-01-25 17:50:41 +01:00
Matt T. Proud acf4e9ce2b Decouple from Bazaar.
Having to use Bazaar to access gocheck is onerous.  We have simply
forked it at a revision until all tests can be replaced with
table-driven ones.
2013-01-18 16:29:47 +01:00
Matt T. Proud 96c93dad9d Simplify the Travis-CI configuration.
Even though Travis does NOT offer a consistent Go platform, I want
to nevertheless simplify the scaffolding scripts around it to make
it easier for other folks to perform pull requests, reviews, etc.
while letting the tests run.
2012-12-19 11:38:06 +01:00
Matt T. Proud 628071f203 Revert "Attempt Go configuration with valid test."
This reverts commit ac812287bc.
2012-07-11 08:20:29 -07:00
Matt T. Proud ac812287bc Attempt Go configuration with valid test. 2012-07-11 08:17:35 -07:00
Matt T. Proud f4ae617a91 Yet another process of elimination for test. 2012-07-10 23:35:29 -07:00
Matt T. Proud 9355aa9291 Simplifying the type of test statement for process of elimination. 2012-07-10 23:32:12 -07:00
Matt T. Proud dc3a47f278 Validating that final test statement does not blow up Travis. 2012-07-10 23:28:39 -07:00
Matt T. Proud 35d39520ec Remove final check for Go. 2012-07-10 23:25:31 -07:00
Matt T. Proud 42aa468071 OK. Apparently the Ruby environment is a no-no.
Anyone know of a quick way to test Travis without junking my commit log?
I'll buy you a few rounds of drinks in return.  :-)
2012-07-10 23:21:21 -07:00
Matt T. Proud c8e4afd085 Switch to Go environment and add extra sanity check.
Add notes on why Go is removed and final sanity check to ensure that
it is not present.
2012-07-10 23:17:49 -07:00
Matt T. Proud a4f189593f Forgot to use sudo. God damn it, Travis. 2012-07-10 23:04:28 -07:00
Matt T. Proud ff78be55d0 Kill golang from environment since it is installed. 2012-07-10 23:00:38 -07:00
Matt T. Proud cc4c8f34b3 Revert "Keeping Erlang with diagnostics."
This reverts commit 172517165a.
2012-07-10 22:54:55 -07:00
Matt T. Proud 172517165a Keeping Erlang with diagnostics. 2012-07-10 22:52:36 -07:00
Matt T. Proud 4ad714245c Revert "Determine whether Go exists in the Travis CI."
This reverts commit 7ad00de665.
2012-07-10 22:51:08 -07:00
Matt T. Proud 7ad00de665 Determine whether Go exists in the Travis CI. 2012-07-10 22:47:44 -07:00
Matt T. Proud a0f424f3ce Revert "Trial an experiment of the Travis CI language."
This reverts commit b98b2c806b.

The re-build failed on Travis.
2012-07-10 22:25:57 -07:00
Matt T. Proud b98b2c806b Trial an experiment of the Travis CI language.
Aalok Shah informs me that Travis CI ought to be permissive with the
languages it supports.  This is a trial at setting it to Go, given that
apparently Erlang now requires a OTP release.
2012-07-10 22:18:23 -07:00
Matt T. Proud 5a56c47909 Incorporate the Travis-CI (continuous integration) configuration such
that test status will be reported.
2012-05-20 00:00:39 +02:00