Subject: Mismatched lws_zalloc / free
[platform/upstream/libwebsockets.git] / .travis.yml
1 env:
2   # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
3   #   via the "travis encrypt" command using the project repo's public key
4   global:
5     - secure: "KhAdQ9ja+LBObWNQTYO7Df5J4DyOih6S+eerDMu8UPSO+CoWV2pWoQzbOfocjyOscGOwC+2PrrHDNZyGfqkCLDXg1BxynXPCFerHC1yc2IajvKpGXmAAygNIvp4KACDfGv/dkXrViqIzr/CdcNaU4vIMHSVb5xkeLi0W1dPnQOI="
6   matrix:
7     - LWS_METHOD=lwsws CMAKE_ARGS="-DLWS_WITH_LWSWS=ON"
8     - LWS_METHOD=default
9     - LWS_METHOD=noserver CMAKE_ARGS="-DLWS_WITHOUT_SERVER=ON"
10     - LWS_METHOD=noclient CMAKE_ARGS="-DLWS_WITHOUT_CLIENT=ON"
11     - LWS_METHOD=noext CMAKE_ARGS="-DLWS_WITHOUT_EXTENSIONS=ON"
12     - LWS_METHOD=libev CMAKE_ARGS="-DLWS_WITH_LIBEV=ON"
13     - LWS_METHOD=noipv6 CMAKE_ARGS="-DLWS_IPV6=OFF"
14     - LWS_METHOD=nossl CMAKE_ARGS="-DLWS_WITH_SSL=OFF"
15     - LWS_METHOD=nodaemon CMAKE_ARGS="-DLWS_WITHOUT_DAEMONIZE=ON"
16     - LWS_METHOD=cgi CMAKE_ARGS="-DLWS_WITH_CGI=ON"
17     - LWS_METHOD=nologs CMAKE_ARGS="-DLWS_WITH_NO_LOGS=ON"
18
19 os:
20   - linux
21   - osx
22 language: generic
23 install:
24   - ./travis_install.sh
25 script:
26   - if [ "$COVERITY_SCAN_BRANCH" != 1 -a "$TRAVIS_OS_NAME" = "osx" ]; then mkdir build && cd build && cmake -DOPENSSL_ROOT_DIR="/usr/local/opt/openssl" $CMAKE_ARGS .. && cmake --build .; else if [ "$COVERITY_SCAN_BRANCH" != 1 -a "$TRAVIS_OS_NAME" = "linux" ]; then mkdir build && cd build && cmake $CMAKE_ARGS .. && cmake --build .; fi ; fi
27 sudo: required
28 dist: trusty
29 addons:
30   coverity_scan:
31     project:
32       name: "warmcat/libwebsockets"
33     notification_email: andy@warmcat.com
34     build_command_prepend: "mkdir build && cd build && cmake .."
35     build_command:   "cmake --build ."
36     branch_pattern: coverity_scan
37