Skip to content

Conversation

@daviddarnes
Copy link
Contributor

Summary

I used the official Jekyll docs to create a more simple set of test scripts that check for just the essentials of a static site:

  • Check a build is successful
  • Check the HTML semantics and markup for any errors

@TravisBuddy
Copy link

Travis tests have failed

Hey @daviddarnes,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

Ruby: 2.4

View build log

bundle exec htmlproofer ./_site
Running ["ImageCheck", "ScriptCheck", "LinkCheck"] on ["./_site"] on *.html... 


Checking 67 external links...
Ran on 10 files!


- ./_site/404.html
  *  External link https://jekyll-uikit.jpasholk.com/404.html failed: response code 0 means something's wrong.
             It's possible libcurl couldn't connect to the server or perhaps the request timed out.
             Sometimes, making too many requests at once also breaks things.
             Either way, the return message (if any) from the server is: SSL connect error
- ./_site/CHANGELOG/index.html
  *  External link https://jekyll-uikit.jpasholk.com/CHANGELOG/ failed: response code 0 means something's wrong.
             It's possible libcurl couldn't connect to the server or perhaps the request timed out.
             Sometimes, making too many requests at once also breaks things.
             Either way, the return message (if any) from the server is: SSL connect error
- ./_site/about/index.html
  *  External link https://getuikit.com/ failed: response code 0 means something's wrong.
             It's possible libcurl couldn't connect to the server or perhaps the request timed out.
             Sometimes, making too many requests at once also breaks things.
             Either way, the return message (if any) from the server is: SSL connect error
  *  External link https://img.shields.io/gem/dt/jekyll-uikit.svg failed: response code 0 means something's wrong.
             It's possible libcurl couldn't connect to the server or perhaps the request timed out.
             Sometimes, making too many requests at once also breaks things.
             Either way, the return message (if any) from the server is: SSL connect error
  *  External link https://img.shields.io/github/contributors/jpasholk/jekyll-uikit.svg failed: response code 0 means something's wrong.
             It's possible libcurl couldn't connect to the server or perhaps the request timed out.
             Sometimes, making too many requests at once also breaks things.
             Either way, the return message (if any) from the server is: SSL connect error
  *  External link https://img.shields.io/github/forks/jpasholk/jekyll-uikit.svg?style=social&label=Fork failed: response code 0 means something's wrong.
             It's possible libcurl couldn't connect to the server or perhaps the request timed out.
             Sometimes, making too many requests at once also breaks things.
             Either way, the return message (if any) from the server is: SSL connect error
  *  External link https://img.shields.io/github/issues-raw/jpasholk/jekyll-uikit.svg failed: response code 0 means something's wrong.
             It's possible libcurl couldn't connect to the server or perhaps the request timed out.
             Sometimes, making too many requests at once also breaks things.
             Either way, the return message (if any) from the server is: SSL connect error
  *  External link https://img.shields.io/github/last-commit/jpasholk/jekyll-uikit.svg failed: response code 0 means something's wrong.
             It's possible libcurl couldn't connect to the server or perhaps the request timed out.
             Sometimes, making too many requests at once also breaks things.
             Either way, the return message (if any) from the server is: SSL connect error
  *  External link https://img.shields.io/github/license/jpasholk/jekyll-uikit.svg failed: response code 0 means something's wrong.
             It's possible libcurl couldn't connect to the server or perhaps the request timed out.
             Sometimes, making too many requests at once also breaks things.
             Either way, the return message (if any) from the server is: SSL connect error
  *  External link https://img.shields.io/github/stars/jpasholk/jekyll-uikit.svg?style=social&label=Stars failed: response code 0 means something's wrong.
             It's possible libcurl couldn't connect to the server or perhaps the request timed out.
             Sometimes, making too many requests at once also breaks things.
             Either way, the return message (if any) from the server is: SSL connect error
  *  External link https://jekyll-uikit.jpasholk.com/about/ failed: response code 0 means something's wrong.
             It's possible libcurl couldn't connect to the server or perhaps the request timed out.
             Sometimes, making too many requests at once also breaks things.
             Either way, the return message (if any) from the server is: SSL connect error
  *  External link https://undraw.co/ failed: response code 0 means something's wrong.
             It's possible libcurl couldn't connect to the server or perhaps the request timed out.
             Sometimes, making too many requests at once also breaks things.
             Either way, the return message (if any) from the server is: SSL connect error
- ./_site/archive/index.html
  *  External link https://jekyll-uikit.jpasholk.com/archive/ failed: response code 0 means something's wrong.
             It's possible libcurl couldn't connect to the server or perhaps the request timed out.
             Sometimes, making too many requests at once also breaks things.
             Either way, the return message (if any) from the server is: SSL connect error
  *  External link https://www.buymeacoffee.com/assets/img/BMC-btn-logo.svg failed: response code 0 means something's wrong.
             It's possible libcurl couldn't connect to the server or perhaps the request timed out.
             Sometimes, making too many requests at once also breaks things.
             Either way, the return message (if any) from the server is: SSL connect error
  *  External link https://www.buymeacoffee.com/jpasholk failed: response code 0 means something's wrong.
             It's possible libcurl couldn't connect to the server or perhaps the request timed out.
             Sometimes, making too many requests at once also breaks things.
             Either way, the return message (if any) from the server is: SSL connect error
- ./_site/blog/2018/04/28/getting-started/index.html
  *  External link https://jekyll-uikit.jpasholk.com/blog/2018/04/28/getting-started/ failed: response code 0 means something's wrong.
             It's possible libcurl couldn't connect to the server or perhaps the request timed out.
             Sometimes, making too many requests at once also breaks things.
             Either way, the return message (if any) from the server is: SSL connect error
- ./_site/blog/2018/04/28/markdown-test/index.html
  *  External link https://jekyll-uikit.jpasholk.com/blog/2018/04/28/markdown-test/ failed: response code 0 means something's wrong.
             It's possible libcurl couldn't connect to the server or perhaps the request timed out.
             Sometimes, making too many requests at once also breaks things.
             Either way, the return message (if any) from the server is: SSL connect error
  *  External link https://markdowntutorial.com/ failed: response code 0 means something's wrong.
             It's possible libcurl couldn't connect to the server or perhaps the request timed out.
             Sometimes, making too many requests at once also breaks things.
             Either way, the return message (if any) from the server is: SSL connect error
- ./_site/blog/2018/10/13/contact-form-example/index.html
  *  External link https://jekyll-uikit.jpasholk.com/blog/2018/10/13/contact-form-example/ failed: response code 0 means something's wrong.
             It's possible libcurl couldn't connect to the server or perhaps the request timed out.
             Sometimes, making too many requests at once also breaks things.
             Either way, the return message (if any) from the server is: SSL connect error
- ./_site/blog/index.html
  *  External link https://jekyll-uikit.jpasholk.com/blog/ failed: response code 0 means something's wrong.
             It's possible libcurl couldn't connect to the server or perhaps the request timed out.
             Sometimes, making too many requests at once also breaks things.
             Either way, the return message (if any) from the server is: SSL connect error
- ./_site/index.html
  *  External link https://jekyll-uikit.jpasholk.com/ failed: response code 0 means something's wrong.
             It's possible libcurl couldn't connect to the server or perhaps the request timed out.
             Sometimes, making too many requests at once also breaks things.
             Either way, the return message (if any) from the server is: SSL connect error
- ./_site/thanks/index.html
  *  External link https://jekyll-uikit.jpasholk.com/thanks/ failed: response code 0 means something's wrong.
             It's possible libcurl couldn't connect to the server or perhaps the request timed out.
             Sometimes, making too many requests at once also breaks things.
             Either way, the return message (if any) from the server is: SSL connect error
htmlproofer 3.9.2 | Error:  HTML-Proofer found 22 failures!
TravisBuddy Request Identifier: 377c5cd0-d9e7-11e8-8964-ad637cdcaaf8

@TravisBuddy
Copy link

Hey @daviddarnes,
Your changes look good to me!

View build log

TravisBuddy Request Identifier: bcf6a180-d9e8-11e8-8964-ad637cdcaaf8

language: ruby
cache: bundler
script:
- bundle exec jekyll algolia --verbose
Copy link
Owner

@jpasholk jpasholk Nov 30, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need this to update the search index though, right?

@daviddarnes

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jpasholk I don't think so, I made some changes to the repo so the tests would pass. If you pull down this branch, install the gems locally and run the script it should come back with a pass. Let me know your results

@jpasholk
Copy link
Owner

Also, sorry I somehow missed the notification for this. Just seeing it now!

@daviddarnes
Copy link
Contributor Author

@jpasholk no worries!

@daviddarnes
Copy link
Contributor Author

👀

@jpasholk
Copy link
Owner

Hey @daviddarnes!

I’ve been taking a bit of a break from webdev stuff, but thinking about getting back into it lately. I’ll take a look at this soon from my Mac and approve it!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants