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

dropwizard / dropwizard-flyway / 351 / 1
57%
master: 57%

Build:
DEFAULT BRANCH: master
Ran 09 Apr 2020 10:04AM UTC
Files 11
Run time 1s
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

09 Apr 2020 10:03AM UTC coverage: 24.762% (-0.3%) from 25.08%
351.1

push

travis-ci

web-flow
Allow boolean command-line options without arguments again (#92)

Currently all those arguments do not work, since they now require an argument but running a command like this: `java -jar application.jar db migrate --initOnMigrate true config.yml` results in the following exception:

```
java.lang.ClassCastException: class java.lang.String cannot be cast to class java.lang.Boolean java.lang.String and java.lang.Boolean are in module java.base of loader 'bootstrap')
 at net.sourceforge.argparse4j.inf.Namespace.getBoolean(Namespace.java:174)
 at io.dropwizard.flyway.cli.DbMigrateCommand.run(DbMigrateCommand.java:67)
 at io.dropwizard.flyway.cli.DbCommand.run(DbCommand.java:48)
```

This PR makes it again possible to use `--initOnMigrate` without argument, but doesn't set a default value if it is not used (`null` instead)

Refs #22
Refs #23

78 of 315 relevant lines covered (24.76%)

0.25 hits per line

Source Files on job 351.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 303
  • Travis Job 351.1
  • a954d02a on github
  • Prev Job for on master (#345.1)
  • Next Job for on master (#354.1)
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