Add rudimentary tests

This commit is contained in:
Rico Sta. Cruz 2018-03-17 13:03:48 +08:00
parent e7554b2e96
commit 861baf770d
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
2 changed files with 13 additions and 0 deletions

5
.travis.yml Normal file
View File

@ -0,0 +1,5 @@
language: ruby
rvm:
- 2.4.2
script:
- make test

View File

@ -27,3 +27,11 @@ dev-jekyll:
else \
bundle exec jekyll serve --safe --trace --drafts --watch --port $(PORT); \
fi
test: _site
@test -f _site/vim.html
@test -f _site/react.html
@test -f _site/index.html
@grep "<script src" _site/index.html >/dev/null
@grep "<script src" _site/vim.html >/dev/null
@grep "<script src" _site/react.html >/dev/null