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

dropwizard / dropwizard-flyway / 351
57%

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

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

Jobs
ID Job ID Ran Files Coverage
1 351.1 09 Apr 2020 10:04AM UTC 0
24.76
Travis Job 351.1
Source Files on build 351
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #351
  • a954d02a on github
  • Prev Build on master (#345)
  • Next Build on master (#354)
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