From 4521e5d4f6d184a7a7003e8ccffe3c18ab36a994 Mon Sep 17 00:00:00 2001 From: Jianhui Zhao Date: Thu, 8 Mar 2018 23:45:29 +0800 Subject: [PATCH] Add travis Signed-off-by: Jianhui Zhao --- .travis.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..963772d --- /dev/null +++ b/.travis.yml @@ -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