mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
parent
a11a28278f
commit
4c8224e81d
1 changed files with 16 additions and 3 deletions
19
.travis.yml
19
.travis.yml
|
@ -1,4 +1,9 @@
|
|||
env:
|
||||
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
|
||||
# via the "travis encrypt" command using the project repo's public key
|
||||
# TODO: Replace the secure key below!
|
||||
global:
|
||||
- secure: "<put the real key here>"
|
||||
- LWS_METHOD=default
|
||||
- LWS_METHOD=noserver CMAKE_ARGS="-DLWS_WITHOUT_SERVER=ON"
|
||||
- LWS_METHOD=noclient CMAKE_ARGS="-DLWS_WITHOUT_CLIENT=ON"
|
||||
|
@ -14,7 +19,15 @@ compiler:
|
|||
language: c
|
||||
install:
|
||||
- sudo apt-get update -qq && sudo apt-get install -y -qq valgrind
|
||||
- if [ x$LWS_METHOD == xlibev ]; then sudo apt-get install -y -qq libev-dev; fi
|
||||
- if [ x$LWS_METHOD == xlibev ] && [ "$COVERITY_SCAN_BRANCH" != 1 ]; then sudo apt-get install -y -qq libev-dev; fi
|
||||
script:
|
||||
- mkdir build && cd build && cmake $CMAKE_ARGS .. && cmake --build .
|
||||
|
||||
- if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then mkdir build && cd build && cmake $CMAKE_ARGS .. && cmake --build .; fi
|
||||
addons:
|
||||
coverity_scan:
|
||||
project:
|
||||
name: "warmcat/libwebsockets"
|
||||
description: "This is the libwebsockets C library for lightweight websocket clients and servers."
|
||||
notification_email: andy.green@linaro.org
|
||||
build_command_prepend: "mkdir build && cd build && cmake .."
|
||||
build_command: "cmake --build ."
|
||||
branch_pattern: coverity_scan
|
||||
|
|
Loading…
Add table
Reference in a new issue