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

dejacode / about-code-tool / 222
74%
master: 79%

Build:
Build:
LAST BUILD BRANCH: v2.3.2
DEFAULT BRANCH: master
Ran 09 Jun 2014 07:02PM UTC
Jobs 2
Files 7
Run time 41s
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
222

push

travis-ci

chinyeungli
Fixed #99

The resource_name(file_path) use the posixpath.split to split the parent dir and the filename. However, it doesn't seem to work on the "windows" path.
For instance, if I have the file_path: C:\tmp\test.ABOUT, the result of the
left, right = posixpath.split(file_path)

is

['','C:\tmp\test.ABOUT']

meaning it treat the whole "windows" path as the filename and thus give the invalid filename character.

A simple fix would be use the os.path.basename instead of the posixpath.split.

1467 of 1977 relevant lines covered (74.2%)

1.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 222.1 09 Jun 2014 07:02PM UTC 0
74.2
Travis Job 222.1
2 222.2 09 Jun 2014 07:03PM UTC 0
74.15
Travis Job 222.2
Source Files on build 222
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #222
  • 6d494040 on github
  • Prev Build on fix_test_for_windows (#221)
  • Next Build on fix_test_for_windows (#223)
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