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

algolia / algoliasearch-jekyll / 78
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v0.9.1
DEFAULT BRANCH: master
Ran 07 Jan 2016 12:34AM UTC
Jobs 6
Files 4
Run time 39s
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
78

Pull #19

travis-ci

pixelastic
fix(v3): Stop throwing deprecation warning when using Jekyll v3

This should fix the deprecation warnings the plugin is throwing with Jekyll 3.0.

```
Deprecation: Document#slug is now a key in the #data hash.
    Called by /home/tim/.rvm/gems/ruby-2.2.3/gems/algoliasearch-jekyll-0.5.3/lib/record_extractor.rb:35:in `metadata'.
Deprecation: Document#tags is now a key in the #data hash.
    Called by /home/tim/.rvm/gems/ruby-2.2.3/gems/algoliasearch-jekyll-0.5.3/lib/record_extractor.rb:53:in `tags'.
```

I've fighted hard, but we can now launch the tests for both Jekyll 2.5 and Jekyll 3.0 (everything is in `./scripts`), and write tests conditionnaly for one version or the other.

The tool to do that is [appraisal](https://github.com/thoughtbot/appraisal) that lets you define several Gemfiles, and you then have to prefix all your `bundle` commands with `appraisal` (so, yeah, you end up with silly `appraisal bundle exec rake stuff`).

I had to duplicate the fixtures, for each version, which explain the large number of file changed, but this is just a copy paste (except the `_config.yml` that is different for each jekyll version)
Pull Request #19: fix(v3): Stop throwing deprecation warning when using Jekyll v3

222 of 223 relevant lines covered (99.55%)

150.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 78.1 (2.2, gemfiles/jekyll_v2.gemfile) 07 Jan 2016 12:34AM UTC 0
99.55
Travis Job 78.1
2 78.2 (2.1, gemfiles/jekyll_v2.gemfile) 07 Jan 2016 12:34AM UTC 0
99.55
Travis Job 78.2
3 78.3 (2.0, gemfiles/jekyll_v2.gemfile) 07 Jan 2016 12:35AM UTC 0
99.55
Travis Job 78.3
4 78.4 (2.2, gemfiles/jekyll_v3.gemfile) 07 Jan 2016 12:35AM UTC 0
99.55
Travis Job 78.4
5 78.5 (2.1, gemfiles/jekyll_v3.gemfile) 07 Jan 2016 12:35AM UTC 0
99.55
Travis Job 78.5
6 78.6 (2.0, gemfiles/jekyll_v3.gemfile) 07 Jan 2016 12:35AM UTC 0
99.55
Travis Job 78.6
Source Files on build 78
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #78
  • Pull Request #19
  • PR Base - develop (#59)
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