forked from ethereum/EIPs
-
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.
- Loading branch information
Showing
5 changed files
with
60 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
set -e # halt script on error | ||
|
||
HTMLPROOFER_OPTIONS="./_site --internal-domains=eips.ethereum.org --check-html --check-opengraph --report-missing-names --log-level=:debug" | ||
|
||
bundle exec jekyll doctor | ||
bundle exec jekyll build | ||
|
||
if [[ $TASK = 'htmlproofer' ]]; then | ||
bundle exec htmlproofer $HTMLPROOFER_OPTIONS --disable-external | ||
elif [[ $TASK = 'htmlproofer-external' ]]; then | ||
bundle exec htmlproofer $HTMLPROOFER_OPTIONS | ||
fi | ||
|
||
# Validate GH Pages DNS setup | ||
bundle exec github-pages health-check |
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,28 @@ | ||
sudo: false # route your build to the container-based infrastructure for a faster build | ||
|
||
language: ruby | ||
|
||
# Cache Ruby bundles | ||
cache: bundler | ||
|
||
before_script: | ||
- bundle exec github-pages versions | ||
|
||
# Assume bundler is being used, therefore | ||
# the `install` step will run `bundle install` by default. | ||
script: "bash -ex .travis-ci.sh" | ||
|
||
env: | ||
global: | ||
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer | ||
|
||
matrix: | ||
fast_finish: true | ||
include: | ||
- rvm: 2.2.5 | ||
env: TASK='htmlproofer' | ||
- rvm: 2.2.5 | ||
env: TASK='htmlproofer-external' | ||
allow_failures: | ||
- rvm: 2.2.5 | ||
env: TASK='htmlproofer-external' |
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