Add travis

Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
main
Jianhui Zhao 2018-03-08 23:45:29 +08:00
parent 681cd458de
commit 4521e5d4f6
1 changed files with 16 additions and 0 deletions

16
.travis.yml 100644
View File

@ -0,0 +1,16 @@
language: c
os:
- linux
before_install:
- sudo apt-get install -y libjson-c-dev liblua5.1-0-dev
- git clone https://git.openwrt.org/project/libubox.git
- cd libubox && cmake -DBUILD_LUA=OFF . && sudo make install && cd -
- git clone https://git.openwrt.org/project/ustream-ssl.git
- cd ustream-ssl && cmake . && sudo make install && cd -
script:
- mkdir build && cd build
- cmake ..
- make && sudo make install