Skip to content

Commit f52ec64

Browse files
committed
updates to travis build setup
1 parent 1b8a592 commit f52ec64

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

.travis.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
1+
dist: focal
12
language: python
3+
vm:
4+
size: large
25
python:
36
- "3.7"
47
- "3.8"
58
- "3.9"
69
cache: pip
7-
install: pip install tox-travis
10+
before_install:
11+
- pip install --upgrade pip
12+
install:
13+
- python3 -V
14+
- pip install tox-travis
815
script:
916
- tox -r
1017
- >

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
]
2828

2929
_deps = {
30+
"docutils>=0.14,<0.18": ["tests"],
3031
"bitarray~=2.3.7": ["install"],
3132
"bump2version~=1.0.1": ["dev"],
3233
"click~=8.0.4": ["install"],

tox.ini

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
[tox]
22
envlist = py37,py38,py39
3+
tox_pip_extensions_ext_venv_update = true
34

45
[testenv]
56
# install pytest in the virtualenv where commands will be executed
67
extras = tests
8+
79
commands =
8-
pytest --cov primeqa --cov-config .coveragerc --cov-fail-under=60 tests/
10+
pytest --cov primeqa --cov-config .coveragerc --cov-fail-under=60 tests/

0 commit comments

Comments
 (0)