Add rudimentary tests
This commit is contained in:
parent
e7554b2e96
commit
861baf770d
|
@ -0,0 +1,5 @@
|
|||
language: ruby
|
||||
rvm:
|
||||
- 2.4.2
|
||||
script:
|
||||
- make test
|
8
Makefile
8
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue