travis: add gluon build

This commit is contained in:
rubo77 2017-07-07 01:43:34 +02:00
parent 3069608b3a
commit 226d77c2a5
2 changed files with 20 additions and 1 deletions

View File

@ -5,7 +5,19 @@ addons:
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

View File

@ -5,3 +5,10 @@
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