From fbc4b7c715bc6d65e7f7c26b1e9d6c77f9d1f61c Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Tue, 15 Jan 2019 15:16:13 +0100 Subject: CI: run Python offline tests Signed-off-by: Szczepan Zalega --- .travis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.travis.yml b/.travis.yml index bf195df..d24025e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,8 +22,18 @@ matrix: - cmake - libhidapi-dev - g++-5 + - python3 + - python3-pip sources: &sources - ubuntu-toolchain-r-test + script: + - make -j2 + - ctest -VV + - mkdir install && make install DESTDIR=install + - pip3 install pytest --user + - cd ../ + - pip3 install -r unittest/requirements.txt --user + - cd unittest && python3 -m pytest -sv test_offline.py - os: linux dist: trusty env: COMPILER_NAME=gcc CXX=g++-6 CC=gcc-6 -- cgit v1.2.1