瀏覽代碼

Merge pull request #3137 from solarissmoke/fix/coverage

Fix coverage reporting on travis
master
Samir Shah 5 年之前
父節點
當前提交
997109b9f0
沒有連結到貢獻者的電子郵件帳戶。
共有 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,5 +77,4 @@ script:
77 77
 
78 78
 
79 79
 after_success:
80
-  - tox -e coverage-report
81 80
   - codecov

+ 0
- 1
setup.py 查看文件

@@ -63,7 +63,6 @@ test_requires = [
63 63
     'py>=1.4.31',
64 64
     'psycopg2>=2.7,<2.8',
65 65
     'pytest>=4.0,<4.5',
66
-    'pytest-cov==2.6.1',
67 66
     'pytest-django==3.4.8',
68 67
     'pytest-xdist>=1.25,<1.28',
69 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,15 +24,6 @@ commands =
24 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 27
 [testenv:lint]
37 28
 basepython = python3.6
38 29
 deps =

Loading…
取消
儲存