• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

grafana-tools / sdk / 259
54%

Build:
DEFAULT BRANCH: master
Ran 26 Mar 2020 08:05PM UTC
Jobs 9
Files 14
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Mar 2020 08:05PM UTC coverage: 45.622% (+0.03%) from 45.588%
259

push

travis-ci

web-flow
sdk: add context.Context to REST calls (#77)

* sdk: add context.Context to REST calls

Add `context.Context` as the first argument to functions which do
requests. This allows users to have fine-grained control over the
timeouts in the typical Go manner - they will not have to have the same
timeout on all operations that is set via `http.Client`.

This also informs our users that these functions do requests and that
they *do* block for a good reason - a HTTP request is made and then we
block until a response comes.

* rest-request: make it compatible with older versions

Go 1.13 has introduced `NewRequestWithContext()` so for compatibility
reasons let's do it the old way - via `NewRequest()` + `WithContext()`.

745 of 1633 relevant lines covered (45.62%)

14.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 259.1 (GRAFANA_VERSION=6.6.2 GRAFANA_INTEGRATION=1) 26 Mar 2020 08:05PM UTC 0
45.62
Travis Job 259.1
2 259.2 (GRAFANA_VERSION=6.5.3 GRAFANA_INTEGRATION=1) 26 Mar 2020 08:05PM UTC 0
45.62
Travis Job 259.2
3 259.3 (GRAFANA_VERSION=6.4.5 1.13.x= GRAFANA_INTEGRATION=1) 26 Mar 2020 08:05PM UTC 0
45.62
Travis Job 259.3
4 259.4 (GRAFANA_VERSION=6.6.2 GRAFANA_INTEGRATION=1) 26 Mar 2020 08:05PM UTC 0
45.62
Travis Job 259.4
5 259.5 (GRAFANA_VERSION=6.5.3 GRAFANA_INTEGRATION=1) 26 Mar 2020 08:05PM UTC 0
45.62
Travis Job 259.5
6 259.6 (GRAFANA_VERSION=6.4.5 GRAFANA_INTEGRATION=1) 26 Mar 2020 08:07PM UTC 0
45.62
Travis Job 259.6
7 259.7 (GRAFANA_VERSION=6.6.2 GRAFANA_INTEGRATION=1) 26 Mar 2020 08:07PM UTC 0
45.62
Travis Job 259.7
8 259.8 (GRAFANA_VERSION=6.5.3 GRAFANA_INTEGRATION=1) 26 Mar 2020 08:07PM UTC 0
45.62
Travis Job 259.8
9 259.9 (GRAFANA_VERSION=6.4.5 GRAFANA_INTEGRATION=1) 26 Mar 2020 08:08PM UTC 0
45.62
Travis Job 259.9
Source Files on build 259
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #259
  • f0431e44 on github
  • Prev Build on master (#257)
  • Next Build on master (#270)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc