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

algolia / jekyll-algolia / 29
96%

Build:
DEFAULT BRANCH: develop
Ran 10 Feb 2018 12:25PM UTC
Jobs 3
Files 10
Run time 5min
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
29

Pull #40

travis-ci

web-flow
Update file_browser.rb

The current code will check if `/project/path/file/path.extension` is included on an array of paths in this form: `file/path.extension`. That'll always return false, so the files will never be excluded.

In my case, I have a project in `/Users/ale/Code/Website-frontend`, and in my `_config.yml` I have a `files_to_exclude: [_pages/**/*]` setting.

If I run `jekyll algolia` without this fix, one of my files is checked against the excluded files array using its full path (`/Users/ale/Code/Website-frontend/_pages/community/organizer-guide.md`), while the array contains its relative path (`_pages/community/organizer-guide.md`) so it doesn't match and it's included on the index.

I haven't had time to update the spec for this change, but since the tests still pass I assume there's something wrong with the existing tests.
Pull Request #40: Update file_browser.rb

1 of 1 new or added line in 1 file covered. (100.0%)

431 of 455 relevant lines covered (94.73%)

96.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29.1 (2.4.2) 10 Feb 2018 12:25PM UTC 0
94.51
Travis Job 29.1
2 29.2 (2.3.5) 10 Feb 2018 12:28PM UTC 0
94.73
Travis Job 29.2
3 29.3 (2.3.0) 10 Feb 2018 12:31PM UTC 0
94.73
Travis Job 29.3
Source Files on build 29
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #29
  • Pull Request #40
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