aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index bf195df..6bf5438 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -22,8 +22,20 @@ matrix:
- cmake
- libhidapi-dev
- g++-5
+ - python3
+ - python3-pip
+ - python3-requests
+ - git
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