|
Ran
|
Files
36
|
Run time
5s
|
Badge
README BADGES
|
push
travis-ci-com
<a href="https://github.com/golang-migrate/migrate/commit/<a class=hub.com/golang-migrate/migrate/commit/d5960ade4aed8834484deb402ee757ecba8c0ed4">d5960ade4<a href="https://github.com/golang-migrate/migrate/commit/d5960ade4aed8834484deb402ee757ecba8c0ed4">">Docker: restore &quot;from env&quot; behavior, and perform API version negotiation (#270) * NewDockerContainer: restore &quot;from env" behavior commit </a><a class="double-link" href="https://github.com/golang-migrate/migrate/commit/<a class="double-link" href="https://github.com/golang-migrate/migrate/commit/c31948caebf21924fbf624cc863a8fa68ffd46cb">c31948cae</a>">c31948cae</a><a href="https://github.com/golang-migrate/migrate/commit/d5960ade4aed8834484deb402ee757ecba8c0ed4"> replaced the deprecated `dockerclient.NewEnvClient` with `dockerclient.NewClientWithOpts`, but did not add the `FromEnv` option to keep the old behavior. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> * NewDockerContainer: use API version negotiation This helps in situations where the daemon is older than the API client. API version negotiation checks the maximum supported API version by the daemon, and downgrades to that API version if needed. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2324 of 4558 relevant lines covered (50.99%)
38.53 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|