diff options
-rw-r--r-- | .travis.yml | 9 | ||||
-rw-r--r-- | unittest/requirements.txt | 1 |
2 files changed, 4 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index 0ad1575..52a10e3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,10 +18,6 @@ matrix: - cmake - libhidapi-dev - g++-5 - - python3 - - python3-pip - - python3-requests - - git sources: &sources - ubuntu-toolchain-r-test - os: linux @@ -43,14 +39,15 @@ matrix: - cmake - libhidapi-dev - g++-10 + - python3 + - python3-pip sources: *sources script: - make -j2 - ctest -VV - mkdir install && make install DESTDIR=install - - pip3 install pytest --user - cd ../ - - pip3 install -r unittest/requirements.txt --user + - python3 -m pip install -r unittest/requirements.txt --user - cd unittest && python3 -m pytest -sv test_offline.py - os: linux dist: trusty diff --git a/unittest/requirements.txt b/unittest/requirements.txt index 6d718ad..d8a7e29 100644 --- a/unittest/requirements.txt +++ b/unittest/requirements.txt @@ -1,4 +1,5 @@ cffi +pytest pytest-repeat pytest-randomly tqdm |