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

NCAR / manage_externals / 94
90%

Build:
DEFAULT BRANCH: master
Ran 18 Jan 2018 12:11AM UTC
Jobs 5
Files 22
Run time 483min
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
94

push

travis-ci

bandre-ucar
Better error messages for failed commands

Merge remote-tracking branch 'wjs/print_command_error'

Two related changes here:

1. For any failed command run via execute_subprocess, print more
information about the problem to stdout

2. After doing an svn switch, check the status of the resulting
repository; if dirty, abort with a helpful message

The immediate purpose of both of these is to give more helpful error
messages if there are failures due to the presence of untracked files,
now that we attempt a checkout even if there are untracked files (via
overwritten by a tracked file in the new version:

git aborts the checkout with an error code; the new information
printed by (1) will help users in this case

svn attempts the checkout and returns a 0 error status, but may
leave you in a conflict state; we check this via (2)

Note that (2) should never happen currently (due to the up-front conservative
check of the repository status, which doesn't even allow untracked files), but
it will become possible after #57.

User interface changes?: No

Testing:
new unit tests added for some utility functions
unit tests: pass
system tests: pass
manual testing: For both git and svn, tested having an untracked file
in the working directory that gets overwritten after checking out a
new branch;

578 of 644 branches covered (89.75%)

Branch coverage included in aggregate %.

1908 of 2024 relevant lines covered (94.27%)

2.35 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
4
100.0
/home/travis/build/NCAR/manage_externals/manic/repository_svn.py
7
100.0
/home/travis/build/NCAR/manage_externals/manic/utils.py
Jobs
ID Job ID Ran Files Coverage
1 94.1 18 Jan 2018 12:11AM UTC 0
92.95
Travis Job 94.1
2 94.2 18 Jan 2018 12:11AM UTC 0
93.12
Travis Job 94.2
3 94.3 18 Jan 2018 12:11AM UTC 0
93.1
Travis Job 94.3
4 94.4 18 Jan 2018 12:11AM UTC 0
93.1
Travis Job 94.4
5 94.5 18 Jan 2018 08:15AM UTC 0
92.95
Travis Job 94.5
Source Files on build 94
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #94
  • 002de3c2 on github
  • Prev Build on master (#92)
  • Next Build on master (#99)
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