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

sqitchers / sqitch / 181
91%
develop: 100%

Build:
Build:
LAST BUILD BRANCH: prep-v1.6.0
DEFAULT BRANCH: develop
Ran 31 Dec 2018 10:53PM UTC
Jobs 1
Files 48
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
181

push

travis-ci-com

theory
Improve engine detection via arguments.

Previously the `core.engine` configuration was required. This was a relic of
the earliest implementation of Sqitch engines, before there were separate
configurations and the ability to specify them via the command-line. It got in
the way, since if you had an engine specified on the command-line -- either by
name or implicitly in a target -- it would unexpectedly report that no
engine was specified.

So remove that requirement, and only return an error constructing a target if
a target option is specified, or if no other target is found on the
command-line.

This also allows for the elimination of the `no_default` parameter to
`parse_args()`, since it never really worked quite as described anyway
-- it *would*, in fact, return the default.

This change also greatly reduces the need for the core `--engine` variable,
which was previously required to work around this issue. Now it's truly only
necessary for the `init` command, for which it's already implemented as a
separate option -- and which doesn't apply to this path for parsing arguments.
So also change the error message hwne no engine can be found so that it no
longer recommends use of the `--engine` option.

Changes to the command tests are instantiate a concrete implementation of
command so that the `command` attribute is set and access to the configuration
for the command works properly.

8 of 8 new or added lines in 2 files covered. (100.0%)

4251 of 4541 relevant lines covered (93.61%)

61.3 hits per line

Jobs
ID Job ID Ran Files Coverage
11 181.11 (COVERAGE=1) 31 Dec 2018 10:53PM UTC 0
93.61
Travis Job 181.11
Source Files on build 181
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #181
  • 31c659fc on github
  • Prev Build on master (#180)
  • Next Build on master (#182)
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