From: Shuanglei Tao Date: Sat, 30 Nov 2019 09:31:13 +0000 (+0800) Subject: travis: install libuv1-dev X-Git-Url: http://git.prime8.dev/?a=commitdiff_plain;h=7911cc31e9aec4b17b0688b0f7cd87cd0bebb8d3;p=ttyd.git travis: install libuv1-dev --- diff --git a/.travis.yml b/.travis.yml index 1a2727b..fb4f0b2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,7 @@ addons: - cmake - libjson-c-dev - libssl-dev + - libuv1-dev install: - yarn --cwd ./html install - yarn --cwd ./html run check @@ -22,7 +23,7 @@ install: pushd /tmp curl -sLo- https://github.com/warmcat/libwebsockets/archive/v$LIBWEBSOCKETS_VERSION.tar.gz | tar xz cd libwebsockets-$LIBWEBSOCKETS_VERSION - cmake -DLWS_UNIX_SOCK=ON -DLWS_IPV6=ON -DLWS_WITHOUT_TESTAPPS=ON -DCMAKE_BUILD_TYPE=RELEASE . + cmake -DLWS_WITH_LIBUV=ON -DLWS_UNIX_SOCK=ON -DLWS_IPV6=ON -DLWS_WITHOUT_TESTAPPS=ON -DCMAKE_BUILD_TYPE=RELEASE . make && sudo make install popd script: |