]> prime8.dev >> repos - ttyd.git/commitdiff
travis: install libuv1-dev
authorShuanglei Tao <tsl0922@gmail.com>
Sat, 30 Nov 2019 09:31:13 +0000 (17:31 +0800)
committerShuanglei Tao <tsl0922@gmail.com>
Sat, 30 Nov 2019 09:34:26 +0000 (17:34 +0800)
.travis.yml

index 1a2727b19cf289cf8c902b6a75564db9c5080cf6..fb4f0b261e8eceb9f220b63ab627fc5685617149 100644 (file)
@@ -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: |