1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2026-03-02 03:49:29 +00:00

Refactor website (#146)

* Migrate to using "remote themes" instead of forked content
* Update to most recent mmistakes
* Add docker-based testing
* Create Makefile for test targets
* Add travis-ci integration
* Update badges to use shields.io
* Replace splash page image (old one's attribution disappeared from
  unsplash.com)
This commit is contained in:
Tim Byrne
2019-03-20 00:53:14 -05:00
parent 3f46be2029
commit 9fa5c9418c
194 changed files with 285 additions and 16978 deletions

22
test/travis-ci Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
set -e
msg() {
echo -e "\e[1;32m$*\e[0m"
}
gem install html-proofer
msg Success: Installed html-proofer
jekyll build -t --config _config.yml,_dev.yml
msg Success: Built jekyll site
jekyll serve --skip-initial-build --detach
msg Success: Serving jekyll site locally
/usr/gem/bin/htmlproofer \
--assume-extension \
--log-level=debug \
--http-status-ignore 429 \
_site
msg Success: Validated site with html-proofer