mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Initial travis config with link checking
This commit is contained in:
parent
d48d266329
commit
e929dc0426
3 changed files with 23 additions and 4 deletions
18
.travis.yml
Normal file
18
.travis.yml
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
language: ruby
|
||||||
|
rvm:
|
||||||
|
- 2.5.3
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- gem install html-proofer
|
||||||
|
|
||||||
|
# Assume bundler is being used, therefore
|
||||||
|
# the `install` step will run `bundle install` by default.
|
||||||
|
script:
|
||||||
|
- bundle exec jekyll build
|
||||||
|
- bundle exec htmlproofer ./_site --assume-extension
|
||||||
|
|
||||||
|
env:
|
||||||
|
global:
|
||||||
|
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
|
||||||
|
|
||||||
|
cache: bundler # caching bundler gem packages will speed up build
|
||||||
1
Gemfile
1
Gemfile
|
|
@ -30,4 +30,5 @@ gem "wdm", "~> 0.1.0" if Gem.win_platform?
|
||||||
|
|
||||||
group :development, :test do
|
group :development, :test do
|
||||||
gem "pry"
|
gem "pry"
|
||||||
|
gem "html-proofer"
|
||||||
end
|
end
|
||||||
|
|
@ -15,17 +15,17 @@ defaults:
|
||||||
- scope:
|
- scope:
|
||||||
path: "*"
|
path: "*"
|
||||||
values:
|
values:
|
||||||
root: "../.."
|
root: ".."
|
||||||
- scope:
|
- scope:
|
||||||
path: "*/*"
|
path: "*/*"
|
||||||
values:
|
values:
|
||||||
root: "../../.."
|
root: "../.."
|
||||||
- scope:
|
- scope:
|
||||||
path: "*/*/*"
|
path: "*/*/*"
|
||||||
values:
|
values:
|
||||||
root: "../../../.."
|
root: "../../.."
|
||||||
|
|
||||||
default_root: "../../.."
|
default_root: "../.."
|
||||||
|
|
||||||
collections_dir: docs
|
collections_dir: docs
|
||||||
collections:
|
collections:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue