aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2020-06-13 23:00:08 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2020-06-13 23:00:08 +0200
commit03a0764bb1546b504fa9e47ccf5197afa96075e9 (patch)
tree1cb1d5a8e745ba0f9531c4e6a6f49a5f0e4e4209
parentc6494bc502db418b3f8ae44ef7e182c998b482c5 (diff)
downloadlibnitrokey-03a0764bb1546b504fa9e47ccf5197afa96075e9.tar.gz
libnitrokey-03a0764bb1546b504fa9e47ccf5197afa96075e9.tar.bz2
CI: build with Meson
-rw-r--r--.travis.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 52a10e3..579796e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -50,6 +50,21 @@ matrix:
- 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
addons: