From 03a0764bb1546b504fa9e47ccf5197afa96075e9 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Sat, 13 Jun 2020 23:00:08 +0200 Subject: CI: build with Meson --- .travis.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.travis.yml b/.travis.yml index 52a10e3..579796e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -49,6 +49,21 @@ matrix: - cd ../ - python3 -m pip install -r unittest/requirements.txt --user - cd unittest && python3 -m pytest -sv test_offline.py + - os: linux + dist: bionic + env: COMPILER_NAME=gcc CXX=g++-10 CC=gcc-10 + addons: + apt: + packages: + - meson + - ninja + - libhidapi-dev + - g++-10 + sources: *sources + script: + - mkdir build && meson build + - cd build && ninja + - env DESTDIR=install ninja install - os: linux dist: trusty env: COMPILER_NAME=clang CXX=clang++-3.8 CC=clang-3.8 -- cgit v1.2.3