瀏覽代碼

Merge pull request #3137 from solarissmoke/fix/coverage

Fix coverage reporting on travis
master
Samir Shah 5 年之前
父節點
當前提交
997109b9f0
No account linked to committer's email address
共有 6 個文件被更改,包括 0 次插入11 次删除
  1. 0
    1
      .travis.yml
  2. 0
    1
      setup.py
  3. 0
    0
      tests/unit/catalogue/__init__.py
  4. 0
    0
      tests/unit/core/__init__.py
  5. 0
    0
      tests/unit/customer/__init__.py
  6. 0
    9
      tox.ini

+ 0
- 1
.travis.yml 查看文件

77
 
77
 
78
 
78
 
79
 after_success:
79
 after_success:
80
-  - tox -e coverage-report
81
   - codecov
80
   - codecov

+ 0
- 1
setup.py 查看文件

63
     'py>=1.4.31',
63
     'py>=1.4.31',
64
     'psycopg2>=2.7,<2.8',
64
     'psycopg2>=2.7,<2.8',
65
     'pytest>=4.0,<4.5',
65
     'pytest>=4.0,<4.5',
66
-    'pytest-cov==2.6.1',
67
     'pytest-django==3.4.8',
66
     'pytest-django==3.4.8',
68
     'pytest-xdist>=1.25,<1.28',
67
     'pytest-xdist>=1.25,<1.28',
69
     'tox>=3.0,<3.9',
68
     'tox>=3.0,<3.9',

+ 0
- 0
tests/unit/catalogue/__init__.py 查看文件


+ 0
- 0
tests/unit/core/__init__.py 查看文件


+ 0
- 0
tests/unit/customer/__init__.py 查看文件


+ 0
- 9
tox.ini 查看文件

24
     pytest {posargs}
24
     pytest {posargs}
25
 
25
 
26
 
26
 
27
-[testenv:coverage-report]
28
-basepython = python3.6
29
-deps = coverage
30
-skip_install = true
31
-commands =
32
-    coverage combine
33
-    coverage report
34
-
35
-
36
 [testenv:lint]
27
 [testenv:lint]
37
 basepython = python3.6
28
 basepython = python3.6
38
 deps =
29
 deps =

Loading…
取消
儲存