diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2019-01-15 15:16:13 +0100 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2019-01-15 15:16:13 +0100 |
commit | fbc4b7c715bc6d65e7f7c26b1e9d6c77f9d1f61c (patch) | |
tree | 86d582afe130ff9542acd5d61e6ca0891f9b28af | |
parent | 4078bf60135e9ad161eefa775e90dca3cced2730 (diff) | |
download | libnitrokey-fbc4b7c715bc6d65e7f7c26b1e9d6c77f9d1f61c.tar.gz libnitrokey-fbc4b7c715bc6d65e7f7c26b1e9d6c77f9d1f61c.tar.bz2 |
CI: run Python offline tests
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
-rw-r--r-- | .travis.yml | 10 |
1 files changed, 10 insertions, 0 deletions
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 |