diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..b0805e47 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,14 @@ +language: ruby +rvm: +- 2.1 + +# Assume bundler is being used, therefore +# the `install` step will run `bundle install` by default. +install: gem install jekyll html-proofer +script: jekyll build && htmlproofer ./_site --empty-alt-ignore + +env: + global: + - NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer + +sudo: false # route your build to the container-based infrastructure for a faster build diff --git a/README.md b/README.md index f7333a5a..10dd9ccd 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +#xpmethod.github.io +[![Build Status](https://travis-ci.org/JonathanReeve/xpmethod.github.io.svg?branch=master)](https://travis-ci.org/JonathanReeve/xpmethod.github.io) + This page describes the file structure and the taxonomy of xpmethod.github.io ## Logic diff --git a/_config.yml b/_config.yml index b01fbe01..08fa5e63 100644 --- a/_config.yml +++ b/_config.yml @@ -9,6 +9,11 @@ permalink: none include: ['_pages'] # relative_permalinks: false + +# Since Travis installs gems to /vendor, we have to remove +# this to keep Travis from checking everything in /vendor. +exclude: ['vendor'] + # People Data ----------------------------------------- rollcall: -last-name: Tenen