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

notanumber / xapian-haystack / 200
98%

Build:
DEFAULT BRANCH: master
Ran 25 Mar 2018 08:54AM UTC
Jobs 10
Files 7
Run time 20min
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
200

cron

travis-ci

jorgecarleitao
Fixing untrustable os.path.exists

As per https://stackoverflow.com/a/3112717/1067833,
os.path.exists sometimes delivers a wrong value. These are corner
cases, but mine is exactly one:

I run xapian-haystack in a multiprocess environment (indexing and
django server), on an LXC container, which has its mount probably
mounted from an NFS server (I have no control/information over it).

This corner case results the os.path.exists give `True` for one
process and `False` for another, resulting in the exception I
handle with this patch.

912 of 916 relevant lines covered (99.56%)

9.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 200.1 (DJANGO_VERSION=1.10 XAPIAN_VERSION=1.4.1) 25 Mar 2018 08:54AM UTC 0
99.02
Travis Job 200.1
2 200.2 (DJANGO_VERSION=1.9 XAPIAN_VERSION=1.4.1) 25 Mar 2018 08:54AM UTC 0
99.02
Travis Job 200.2
4 200.4 (DJANGO_VERSION=1.10 XAPIAN_VERSION=1.3.3) 25 Mar 2018 09:00AM UTC 0
99.13
Travis Job 200.4
5 200.5 (DJANGO_VERSION=1.9 XAPIAN_VERSION=1.3.3) 25 Mar 2018 08:56AM UTC 0
99.13
Travis Job 200.5
7 200.7 (DJANGO_VERSION=1.10 XAPIAN_VERSION=1.4.1) 25 Mar 2018 09:03AM UTC 0
99.02
Travis Job 200.7
8 200.8 (DJANGO_VERSION=1.9 XAPIAN_VERSION=1.4.1) 25 Mar 2018 09:02AM UTC 0
99.02
Travis Job 200.8
10 200.10 (DJANGO_VERSION=1.10 XAPIAN_VERSION=1.3.3) 25 Mar 2018 09:12AM UTC 0
99.13
Travis Job 200.10
11 200.11 (DJANGO_VERSION=1.9 XAPIAN_VERSION=1.3.3) 25 Mar 2018 09:13AM UTC 0
99.13
Travis Job 200.11
13 200.13 (DJANGO_VERSION=1.10 XAPIAN_VERSION=1.2.24) 25 Mar 2018 09:14AM UTC 0
99.34
Travis Job 200.13
14 200.14 (DJANGO_VERSION=1.9 XAPIAN_VERSION=1.2.24) 25 Mar 2018 09:14AM UTC 0
99.34
Travis Job 200.14
Source Files on build 200
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #200
  • 3c322a95 on github
  • Prev Build on master (#199)
  • Next Build on master (#202)
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