Feature/travis (#12)

* travis config

* Updated gemlock for htmlproofer.

* Note about installing nokogiri with bundle install.

* htmlproofer for cibuild

* Restricting the htmlproofer test to ignore /blog/

* Removed travis branch from the whitelist.
This commit is contained in:
Perry Woodin 2016-09-12 09:35:43 -04:00 committed by GitHub
parent 0d43667e7c
commit 5ee9ae4de9
6 changed files with 81 additions and 2 deletions

View file

@ -13,7 +13,17 @@ https://jekyllrb.com
### Supporting Gems
Simply run `bundle install` and [bundler](http://bundler.io/) will install all ruby gems/dependencies.
Note: The Gems must also be installed on the CI server.
CI Note: The Gems must also be installed on the CI server.
Mac Note: Bundler will try to install the dependency `nokogiri`. If you are using a Mac, and run into issues related to `nokogiri` during `bundle install`, do the following:
`xcode-select --install`
`gem install nokogiri`
Then run `bundle install`
### Plugins
* `jekyll-multiple-languages-plugin` installed as a gem. Documentation at https://github.com/perrywoodin/jekyll-multiple-languages-plugin. This is a modified fork that adds two new tags for outputting markdown `{% tmd key %}` or `{% translatemd key %}`
@ -26,6 +36,10 @@ Note: The Gems must also be installed on the CI server.
## Production Build
Production builds should be handled by CI.
Mac
xcode-select --install
gem install nokogiri
## i18n
Language variables are set in `/_i18n/*.yml` files. The master language file is `/_i18n/en.yml`. All other languages should use that file as a base.