2018-03-08 15:45:29 +00:00
|
|
|
language: c
|
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
|
|
|
|
before_install:
|
2018-03-08 15:55:34 +00:00
|
|
|
- sudo apt-get -qq update
|
2018-03-08 15:45:29 +00:00
|
|
|
- sudo apt-get install -y libjson-c-dev liblua5.1-0-dev
|
2018-03-08 15:55:34 +00:00
|
|
|
- sudo apt-get remove libssl-dev
|
|
|
|
|
|
|
|
install:
|
2018-03-08 15:45:29 +00:00
|
|
|
- git clone https://git.openwrt.org/project/libubox.git
|
2018-03-08 15:55:34 +00:00
|
|
|
- pushd libubox && cmake -DBUILD_LUA=OFF . && make && sudo make install && popd
|
|
|
|
- wget https://www.openssl.org/source/openssl-1.0.2n.tar.gz
|
|
|
|
- tar zxvf openssl-1.0.2n.tar.gz
|
|
|
|
- pushd openssl-1.0.2n && ./config --prefix=/usr/local --openssldir=/usr/local/openssl shared && make && sudo make install && popd
|
2018-03-08 15:45:29 +00:00
|
|
|
- git clone https://git.openwrt.org/project/ustream-ssl.git
|
2018-03-08 15:55:34 +00:00
|
|
|
- pushd ustream-ssl && cmake . && sudo make install && popd
|
2018-03-08 15:45:29 +00:00
|
|
|
|
|
|
|
script:
|
|
|
|
- mkdir build && cd build
|
|
|
|
- cmake ..
|
|
|
|
- make && sudo make install
|