mirror of https://github.com/status-im/EIPs.git
Add travis configuration
This commit is contained in:
parent
a235dd38b9
commit
6bc36d9b43
|
@ -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
|
|
@ -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'
|
2
Gemfile
2
Gemfile
|
@ -28,3 +28,5 @@ gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
|||
|
||||
# Performance-booster for watching directories on Windows
|
||||
gem "wdm", "~> 0.1.0" if Gem.win_platform?
|
||||
|
||||
gem "html-proofer", '>=3.3.1'
|
||||
|
|
13
Gemfile.lock
13
Gemfile.lock
|
@ -13,6 +13,7 @@ GEM
|
|||
execjs
|
||||
coffee-script-source (1.11.1)
|
||||
colorator (1.1.0)
|
||||
colorize (0.8.1)
|
||||
commonmarker (0.17.9)
|
||||
ruby-enum (~> 0.5)
|
||||
concurrent-ruby (1.0.5)
|
||||
|
@ -78,6 +79,15 @@ GEM
|
|||
html-pipeline (2.7.1)
|
||||
activesupport (>= 2)
|
||||
nokogiri (>= 1.4)
|
||||
html-proofer (3.8.0)
|
||||
activesupport (>= 4.2, < 6.0)
|
||||
addressable (~> 2.3)
|
||||
colorize (~> 0.8)
|
||||
mercenary (~> 0.3.2)
|
||||
nokogiri (~> 1.8.1)
|
||||
parallel (~> 1.3)
|
||||
typhoeus (~> 1.3)
|
||||
yell (~> 2.0)
|
||||
i18n (0.9.5)
|
||||
concurrent-ruby (~> 1.0)
|
||||
jekyll (3.6.2)
|
||||
|
@ -204,6 +214,7 @@ GEM
|
|||
mini_portile2 (~> 2.3.0)
|
||||
octokit (4.8.0)
|
||||
sawyer (~> 0.8.0, >= 0.5.3)
|
||||
parallel (1.12.1)
|
||||
pathutil (0.16.1)
|
||||
forwardable-extended (~> 2.6)
|
||||
public_suffix (2.0.5)
|
||||
|
@ -232,12 +243,14 @@ GEM
|
|||
tzinfo (1.2.5)
|
||||
thread_safe (~> 0.1)
|
||||
unicode-display_width (1.3.0)
|
||||
yell (2.0.7)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
github-pages
|
||||
html-proofer (>= 3.3.1)
|
||||
jekyll (~> 3.6.2)
|
||||
jekyll-feed (~> 0.6)
|
||||
minima (~> 2.0)
|
||||
|
|
|
@ -18,7 +18,7 @@ description: >-
|
|||
Ethereum Improvement Proposals (EIPs) describe standards for the Ethereum
|
||||
platform, including core protocol specifications, client APIs, and contract
|
||||
standards.
|
||||
url: "" # the base hostname & protocol for your site, e.g. http://example.com
|
||||
url: "http://eips.ethereum.org"
|
||||
twitter_username: ethereum
|
||||
github_username: ethereum
|
||||
header_pages:
|
||||
|
|
Loading…
Reference in New Issue