You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
falk-werner_webfused/.travis.yml

64 lines
1.3 KiB

dist: bionic
language: c
compiler:
- gcc
addons:
apt:
update: true
packages:
- build-essential
- cmake
- pkgconf
- wget
- ca-certificates
- openssl
- libssl-dev
- uuid-dev
- udev
- gettext
- python3
- python3-pip
- python3-setuptools
- python3-wheel
- ninja-build
- libconfig-dev
- libpam0g-dev
- valgrind
env:
matrix:
- BUILD_TYPE=Coverage CHECK_TARGET=check
- BUILD_TYPE=Debug CHECK_TARGET=memcheck
- BUILD_TPYE=Release CHECK_TARGET=check
- BUILD_TYPE=MinSizeRel CHECK_TARGET=check
before_install:
- sudo pip3 install --system meson
- mkdir .deps
- cd .deps
- wget https://github.com/warmcat/libwebsockets/archive/v3.2.0.tar.gz -O libwebsockets.tar.gz
- tar -xf libwebsockets.tar.gz
- cd libwebsockets-3.2.0
- mkdir .build
- cd .build
- cmake ..
- make
- sudo make install
- cd ..
- cd ..
- cd ..
before_script:
- meson build
- cd build
- ninja
script:
- meson test
after_success:
- bash <(curl -s https://codecov.io/bash)