add travis check
This commit is contained in:
parent
d72a1ea9c6
commit
3069608b3a
14
.travis.yml
Normal file
14
.travis.yml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
language: bash
|
||||||
|
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- lua5.1
|
||||||
|
- luarocks
|
||||||
|
|
||||||
|
install:
|
||||||
|
- eval $(luarocks path --bin)
|
||||||
|
- luarocks install --local lua-cjson
|
||||||
|
|
||||||
|
script:
|
||||||
|
- bash tests/validate_site.sh
|
7
tests/validate_site.sh
Normal file
7
tests/validate_site.sh
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# checks if the site.conf is a valid lua dict
|
||||||
|
|
||||||
|
GLUON_SITEDIR="docs/site-example" lua5.1 scripts/site_config.lua
|
||||||
|
|
||||||
|
bash -n scripts/*.sh
|
Loading…
Reference in New Issue
Block a user