Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test docs with Proofer #2311

Closed
wants to merge 37 commits into from
Closed
Show file tree
Hide file tree
Changes from 31 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
ad52fbe
Add proofer script
May 6, 2014
005d84f
Add site:test
May 6, 2014
d7f3ea0
Force Nokogiri to use system libraries
May 6, 2014
41e7a43
Fix link just to test the performance
May 6, 2014
1a45e64
Add NOKOGIRI_USE_SYSTEM_LIBRARIES to Gemfile
May 6, 2014
34dd9cd
Revert "Add NOKOGIRI_USE_SYSTEM_LIBRARIES to Gemfile"
May 6, 2014
670b186
Revert "Fix link just to test the performance"
May 7, 2014
95472c4
Add fast finish
May 7, 2014
9a4c21a
Fix post name again
May 7, 2014
cb80933
Add Gemfile to site
May 9, 2014
44c7e12
Remove Proofer from main Gemfile
May 9, 2014
88da00d
Move require into the test site:test task
May 9, 2014
5b64015
Revert "Add Gemfile to site"
May 9, 2014
b16ff76
Just build the site
May 9, 2014
c110c39
Remove site test from Rake
May 9, 2014
4e05721
Add Matrix include
May 9, 2014
63d2dba
Change env
May 9, 2014
860d969
Add Gemfile to site
May 9, 2014
6ddeb33
Add conditionals
May 9, 2014
ee7190b
Allow failures for site
May 9, 2014
3deb2f5
Remove Kramdown from dependecies
May 9, 2014
773b020
Add bundle exec
May 9, 2014
26ccd3e
Remove rake gem
May 9, 2014
56c93f6
Exclude vendor directory
May 10, 2014
37e1dda
Add htmlproof
May 10, 2014
a532665
Bundle exec everything
May 10, 2014
61eb3ea
Force Nokogiri to use system libraries
May 10, 2014
9e7f71f
Fix allow_failures
May 10, 2014
d194478
Use latest Ruby. Tradition
May 10, 2014
0303e5b
Revert url fix
May 10, 2014
508dfd6
Fail on first error
May 10, 2014
4b233ff
Add timezone based on Jekyll’s homeland
May 10, 2014
c88ca5f
Move proofer into cibuild
May 10, 2014
da5cc79
Move script to the old place
May 10, 2014
38e9f36
Remove extra space
May 10, 2014
3b7e4f3
Remove time zone again
May 11, 2014
e5006da
Move env to install
May 12, 2014
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 9 additions & 1 deletion .travis.yml
Expand Up @@ -7,7 +7,7 @@ rvm:
- 2.1.1
- 2.0.0
- 1.9.3
script: script/cibuild
script: if [[ "$SITE" == true ]]; then script/proofer; else script/cibuild; fi
Copy link
Member

Choose a reason for hiding this comment

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

Hm, could we do this in script/cibuild instead? Feels weird to have it here

after_script:
- script/rebund upload
notifications:
Expand All @@ -25,3 +25,11 @@ env:
global:
- secure: bt5nglPTdsc0N5fB1dOJz2WbM81dGpDuVD8PnhEsxgUfoo6xavhU4+pNrUADlSUqQ1aJrdU+MKW4x+JZ2ZnJS8vOpNzRymuMZSbFaljK4pgFGiKFgBdMKxVikvoYcxKCjLAl7NJZ11W6hUw+JtJScClDZwrJJAQB6I7Isp/LsdM=
- secure: Ym8nx7nbfGYGo47my92M+deJykaiMkdZdb615EO51liv/xy/0aQ919Jpfieugc9d3zVnm+zFGPbpv4YzRpsik6OlVBNa4lP+BnQ27ptf5YcLWD8Hksi7845WFLecXMoaTCoYer/TvYZsIWJb2nSDMH9qbfZhnd1YZKuvUpK0rEU=
matrix:
include:
- rvm: 2.1.2
gemfile: site/Gemfile
env: SITE=true NOKOGIRI_USE_SYSTEM_LIBRARIES=true
allow_failures:
- env: SITE=true NOKOGIRI_USE_SYSTEM_LIBRARIES=true
fast_finish: true
7 changes: 7 additions & 0 deletions script/proofer
@@ -0,0 +1,7 @@
#!/bin/bash

set -e

cd ./site
bundle exec jekyll build --trace
bundle exec htmlproof ./_site
6 changes: 6 additions & 0 deletions site/Gemfile
@@ -0,0 +1,6 @@
source 'https://rubygems.org'

group :test do
gem 'jekyll'
gem 'html-proofer'
end
1 change: 1 addition & 0 deletions site/_config.yml
Expand Up @@ -6,3 +6,4 @@ excerpt_separator: noifniof3nioaniof3nioafafinoafnoif
repository: https://github.com/jekyll/jekyll
help_url: https://github.com/jekyll/jekyll-help
google_analytics_id: UA-50755011-1
exclude: [vendor]