@@ -74,46 +74,49 @@ basepython={env:PLOTLY_TOX_PYTHON_27:}
74
74
commands =
75
75
python --version
76
76
nosetests {posargs} -x plotly/tests/test_core
77
- pytest _plotly_utils/tests/
78
77
79
78
[testenv:py34-core]
80
79
basepython ={env:PLOTLY_TOX_PYTHON_34:}
81
80
commands =
82
81
python --version
83
82
nosetests {posargs} -x plotly/tests/test_core
84
- pytest _plotly_utils/tests/
85
83
86
84
[testenv:py35-core]
87
85
basepython ={env:PLOTLY_TOX_PYTHON_35:}
88
86
commands =
89
87
python --version
90
88
nosetests {posargs} -x plotly/tests/test_core
91
- pytest _plotly_utils/tests/
92
89
93
90
[testenv:py36-core]
94
91
basepython ={env:PLOTLY_TOX_PYTHON_36:}
95
92
commands =
96
93
python --version
97
94
nosetests {posargs} -x plotly/tests/test_core
98
- pytest _plotly_utils/tests/
99
95
100
96
[testenv:py37-core]
101
97
basepython ={env:PLOTLY_TOX_PYTHON_37:}
102
98
commands =
103
99
python --version
104
100
nosetests {posargs} -x plotly/tests/test_core
105
- pytest _plotly_utils/tests/
106
101
107
102
; OPTIONAL ENVIRONMENTS
103
+ ; [testenv:py27-optional]
104
+ ; basepython={env:PLOTLY_TOX_PYTHON_27:}
105
+ ; commands=
106
+ ; python --version
107
+ ; ; Do some coverage reporting. No need to do this for all environments.
108
+ ; mkdir -p {envbindir}/../../coverage-reports/{envname}
109
+ ; coverage erase
110
+ ; coverage run --include="*/plotly/*" --omit="*/tests*" {envbindir}/nosetests {posargs} -x plotly/tests
111
+ ; coverage html -d "{envbindir}/../../coverage-reports/{envname}" --title={envname}
112
+
108
113
[testenv:py27-optional]
109
114
basepython ={env:PLOTLY_TOX_PYTHON_27:}
110
115
commands =
111
116
python --version
112
- ; Do some coverage reporting. No need to do this for all environments.
113
- mkdir -p {envbindir}/../../coverage-reports/{envname}
114
- coverage erase
115
- coverage run --include =" */plotly/*" --omit =" */tests*" {envbindir}/nosetests {posargs} -x plotly/tests
116
- coverage html -d " {envbindir}/../../coverage-reports/{envname}" --title ={envname}
117
+ nosetests {posargs} -x plotly/tests/test_core
118
+ nosetests {posargs} -x plotly/tests/test_optional
119
+ pytest _plotly_utils/tests/
117
120
118
121
[testenv:py34-optional]
119
122
basepython ={env:PLOTLY_TOX_PYTHON_34:}
0 commit comments