diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2020-06-13 18:29:58 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2020-06-13 18:44:07 +0200 |
commit | f3cffe7245f25d6a8b0651987a9e412c374027e9 (patch) | |
tree | 084a01f54eb64519a07037bb09202dad8925aadc | |
parent | dc234d158f27a5aa385c80daa63365b3c5472944 (diff) | |
download | libnitrokey-f3cffe7245f25d6a8b0651987a9e412c374027e9.tar.gz libnitrokey-f3cffe7245f25d6a8b0651987a9e412c374027e9.tar.bz2 |
Make proper call to install pip package
-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 |