diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..8c26d1a --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +language: ruby +rvm: + - 2.3.3 + +script: + - ./scripts/build + - ./scripts/test + +branches: + only: + - master + - /master-(.*)/ # test every branch which starts with "pages-" diff --git a/Gemfile b/Gemfile index 5202882..94c85fc 100644 --- a/Gemfile +++ b/Gemfile @@ -13,6 +13,7 @@ gem "jekyll", "3.3.1" # This is the default theme for new Jekyll sites. You may change this to anything you like. gem "minima", "~> 2.0" +gem "html-proofer" # If you want to use GitHub Pages, remove the "gem "jekyll"" above and # uncomment the line below. To upgrade, run `bundle update github-pages`. diff --git a/Gemfile.lock b/Gemfile.lock index 06b7f87..13f7258 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,11 +1,30 @@ GEM remote: https://rubygems.org/ specs: + activesupport (5.1.0) + concurrent-ruby (~> 1.0, >= 1.0.2) + i18n (~> 0.7) + minitest (~> 5.1) + tzinfo (~> 1.1) addressable (2.5.0) public_suffix (~> 2.0, >= 2.0.2) colorator (1.1.0) + colored (1.2) + concurrent-ruby (1.0.5) + ethon (0.10.1) + ffi (>= 1.3.0) ffi (1.9.14) forwardable-extended (2.6.0) + html-proofer (3.6.0) + activesupport (>= 4.2, < 6.0) + addressable (~> 2.3) + colored (~> 1.2) + mercenary (~> 0.3.2) + nokogiri (~> 1.5) + parallel (~> 1.3) + typhoeus (~> 0.7) + yell (~> 2.0) + i18n (0.8.1) jekyll (3.3.1) addressable (~> 2.4) colorator (~> 1.0) @@ -29,8 +48,13 @@ GEM rb-fsevent (~> 0.9, >= 0.9.4) rb-inotify (~> 0.9, >= 0.9.7) mercenary (0.3.6) + mini_portile2 (2.1.0) minima (2.1.0) jekyll (~> 3.3) + minitest (5.10.1) + nokogiri (1.7.1) + mini_portile2 (~> 2.1.0) + parallel (1.11.2) pathutil (0.14.0) forwardable-extended (~> 2.6) public_suffix (2.0.4) @@ -40,11 +64,18 @@ GEM rouge (1.11.1) safe_yaml (1.0.4) sass (3.4.23) + thread_safe (0.3.6) + typhoeus (0.8.0) + ethon (>= 0.8.0) + tzinfo (1.2.3) + thread_safe (~> 0.1) + yell (2.0.7) PLATFORMS ruby DEPENDENCIES + html-proofer jekyll (= 3.3.1) jekyll-feed (~> 0.6) minima (~> 2.0) diff --git a/_config.yml b/_config.yml index 53c8a18..25c344a 100644 --- a/_config.yml +++ b/_config.yml @@ -33,6 +33,7 @@ gems: exclude: - Gemfile - Gemfile.lock + - vendor google_analytics: UA-57792488-6 defaults: diff --git a/scripts/build b/scripts/build new file mode 100755 index 0000000..82f8038 --- /dev/null +++ b/scripts/build @@ -0,0 +1,3 @@ +#!/bin/bash + +bundle exec jekyll build diff --git a/scripts/test b/scripts/test new file mode 100755 index 0000000..5a8754f --- /dev/null +++ b/scripts/test @@ -0,0 +1 @@ +bundle exec htmlproofer ./_site