Merge 226d77c2a5
into b5a8959f59
This commit is contained in:
commit
d5d2f9814c
26
.travis.yml
Normal file
26
.travis.yml
Normal file
@ -0,0 +1,26 @@
|
||||
language: bash
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- lua5.1
|
||||
- luarocks
|
||||
- git
|
||||
- make
|
||||
- gcc
|
||||
- g++
|
||||
- unzip
|
||||
- libncurses5-dev
|
||||
- zlib1g-dev
|
||||
- subversion
|
||||
- gawk
|
||||
- bzip2
|
||||
- libssl-dev
|
||||
- wget
|
||||
|
||||
install:
|
||||
- eval $(luarocks path --bin)
|
||||
- luarocks install --local lua-cjson
|
||||
|
||||
script:
|
||||
- bash tests/validate_site.sh
|
14
tests/validate_site.sh
Normal file
14
tests/validate_site.sh
Normal file
@ -0,0 +1,14 @@
|
||||
#!/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
|
||||
|
||||
cp -a docs/site-example site
|
||||
|
||||
TARGET=ar71xx-generic
|
||||
make update GLUON_TARGET=$TARGET
|
||||
make clean GLUON_TARGET=$TARGET
|
||||
make GLUON_TARGET=$TARGET
|
Loading…
Reference in New Issue
Block a user