This repository has been archived by the owner on Sep 26, 2019. It is now read-only.
forked from alisw/alibuild
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add HTMLProofer with custom options for Travis
* Use more modern APT installation on Travis not requiring `sudo` * Install `libcurl4-openssl-dev` to prevent HTMLProofer OpenSSL issues (gjtorikian/html-proofer#376) * Use custom HTMLProofer to allow specifying a sensible `timeout` option (the `htmlproofer` command-line does not support options)
- Loading branch information
Dario Berzano
committed
Feb 20, 2018
1 parent
a74eaa4
commit b2af712
Showing
3 changed files
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env ruby | ||
require 'html-proofer' | ||
HTMLProofer.check_directory("./_site", | ||
:parallel => { :in_processes => 3 }, | ||
:typhoeus => { :timeout => 100, :ssl_verifyhost => 2 }).run |