diff --git a/.travis.yml b/.travis.yml index 5674aab..64c1bd7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,10 +2,15 @@ language: ruby rvm: - 2.1 -# Assume bundler is being used, therefore -# the `install` step will run `bundle install` by default. -script: ./scripts/cibuild - env: global: - NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer + +# Follows advice of https://github.com/jekyll/jekyll/issues/3480 +install: + - gem install jekyll + - gem install html-proofer + +script: + - jekyll build + - htmlproofer _site diff --git a/_config.yml b/_config.yml index 8e610e0..ba5a9ee 100644 --- a/_config.yml +++ b/_config.yml @@ -4,9 +4,12 @@ email: your-email@domain.com description: "REDCap-Tools, promoting awesome projects built atop REDCap and fostering a community of developers around them." baseurl: / url: "http://redcap-tools.github.io" -twitter_username: -github_username: redcap-tools +twitter_username: +github_username: redcap-tools # Build settings markdown: kramdown permalink: pretty + +#Don't explode on gems; https://jekyllrb.com/docs/continuous-integration/#configuring-your-travis-builds. +exclude: [vendor] diff --git a/scripts/cibuild b/scripts/cibuild deleted file mode 100755 index d22fbfc..0000000 --- a/scripts/cibuild +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env bash -set -e # halt script on error - -bundle exec jekyll build -bundle exec htmlproof ./_site \ No newline at end of file