From: Shuanglei Tao Date: Sat, 7 Dec 2019 10:06:04 +0000 (+0800) Subject: ci: remove travis config X-Git-Url: http://git.prime8.dev/?a=commitdiff_plain;h=cc897138f2da528205046bfded563a075afacc54;p=ttyd.git ci: remove travis config --- diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index b39fde0..0000000 --- a/.travis.yml +++ /dev/null @@ -1,49 +0,0 @@ -language: node_js -node_js: - - "12" -services: docker -env: - - LIBWEBSOCKETS_VERSION=3.2.0 - - LIBWEBSOCKETS_VERSION=3.1.0 - - LIBWEBSOCKETS_VERSION=2.4.2 - - LIBWEBSOCKETS_VERSION=1.7.9 -matrix: - fast_finish: true -addons: - apt: - packages: - - cmake - - libjson-c-dev - - libssl-dev - - libuv1-dev -install: - - yarn --cwd ./html install - - yarn --cwd ./html run check - - | - echo "Compiling libwebsockets-$LIBWEBSOCKETS_VERSION from source..." - pushd /tmp - curl -sLo- https://github.com/warmcat/libwebsockets/archive/v$LIBWEBSOCKETS_VERSION.tar.gz | tar xz - cd libwebsockets-$LIBWEBSOCKETS_VERSION - cmake -DLWS_WITH_LIBUV=ON -DLWS_UNIX_SOCK=ON -DLWS_IPV6=ON -DLWS_WITHOUT_TESTAPPS=ON -DCMAKE_BUILD_TYPE=RELEASE . - make && sudo make install && sudo ldconfig - popd -script: | - yarn --cwd ./html run build - mkdir build && cd build - cmake -DCMAKE_BUILD_TYPE=RELEASE .. - make && sudo make install - ttyd -v -jobs: - include: - - stage: GitHub Release - if: tag IS present - script: docker run --rm -v $(pwd):/ttyd -w /ttyd -e TTYD_VERSION=$TRAVIS_TAG tsl0922/musl-cross ./scripts/cross-build.sh - deploy: - provider: releases - api_key: - secure: QERuHbmEV/Rw4CloSiuK7UzngzmaeB90SGk0r0C7DhIBTYT/oUlAOXAsfNbv84lYBLKxVW7MYnp7Dp+rTi3asnS2wyu6+UmLW//zxqlYkFVEJ3eYyfkC1Bp06dLXkWKl9S5tcosjoowvmEvcrOSVhmzkucHK+9m7Fbd2mhX6vNC42JE9oUd+FrxsJD/TOmvSaAbUyI8+JXbJWyK+wp9rHo6E3YCt8IEenoTb0/TDomh/norFvLRNxsj0ds5XplOcQvUCznh+ZlGn8gLrskH/Byt0kCYx41XOTM7mHtYfvnzgpQZFKW0tpB4qMDFU+FxJMxMLn/kAdo1RjLsdp906jumLi83kWDmj4Jho28kXXY21kE6U/Ms15aJpAxxJVWiZXJoPpMVwHPzuiuNR0+tp/8JodvbDyiVL6TYEr8E6wRoBg0EDAfzcvVEiImkptCGYsY3kKj/dSqUqveqzOvGpQVtcTp7WeyBH5hWFIWz+JhY0IO1UYULqkhoV5rQpCXlTIFL1ul54CVz8uBHbBpnMUH4kS+8RdJPZFSKpJTfPZKe1y/JVSl+WuQBLJ0zyHXFdEmGGHJm7i8PdKXshC9RJ26gGc8pZ0jS1knPPwq6zGf9GsN+pGgAv/Gdi2OFFaxDQoIzNpFrErxAnUIbRCqTgh9ogTJDB8TCU6MrpGpV2DLQ= - file_glob: true - file: bin/* - skip_cleanup: true - on: - tags: true