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

uber-go / fx / 2781
91%
master: 92%

Build:
Build:
LAST BUILD BRANCH: glue-dig-b3
DEFAULT BRANCH: master
Ran 17 Apr 2017 07:34PM UTC
Jobs 1
Files 55
Run time 3s
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

pending completion
2781

push

travis-ci

web-flow
Introduce a command line provider (#461)

Our documentation states that service roles can be overridden from command line,
but we never actually had a config provider that takes data from arguments
passed to a program.

We use "github.com/ogier/pflag" package to read command line flags, because
the standard one isn't POSIX compatible(it can be easily replaced with the standard
though by replacing import to "flag", function signatures are exactly the same).

By default flags don't have a support for list values, so we assume list elements
are comma separated. If users want to have different separators, the can create
their own type and set flags via Var

If users want to introduce their own command line parameters, they can use the default pflag
CommandLine variable and
extend the provider.

3109 of 3375 relevant lines covered (92.12%)

139.76 hits per line

Jobs
ID Job ID Ran Files Coverage
2 2781.2 (DOCKER_GO_VERSION=1.8 CI_TEST_CMD=coveralls) 17 Apr 2017 07:34PM UTC 0
92.12
Travis Job 2781.2
Source Files on build 2781
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2781
  • 336d1f18 on github
  • Prev Build on dev (#2772)
  • Next Build on dev (#2814)
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