8000 standardize optional requirements for CircleCI · Vanova/plotly.py@27442ae · GitHub
[go: up one dir, main page]

Skip to content

Commit 27442ae

Browse files
committed
standardize optional requirements for CircleCI
- add coverage to optional requirements - pip install optional requirements and no need for nothing else
1 parent a8b4987 commit 27442ae

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

circle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies:
1616
- bash circle/setup.sh
1717

1818
# install testing tools for circle's version of things
19-
- pip install nose coverage
19+
- pip install -r ${PLOTLY_OPTIONAL_REQUIREMENTS_FILE}
2020
- pip install -I .
2121

2222
# we need to cd out of the project root to ensure the install worked

circle/setup.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,8 @@ for version in ${PLOTLY_PYTHON_VERSIONS[@]}; do
3535
pip install -r ${PLOTLY_CORE_REQUIREMENTS_FILE} ||
3636
error_exit "${SIG} ${LINENO}: can't install core reqs for Python ${version}."
3737

38+
# install optional (including test) requirements
3839
pip install -r ${PLOTLY_OPTIONAL_REQUIREMENTS_FILE} ||
3940
error_exit "${SIG} ${LINENO}: can't install optional for Python ${version}."
4041

41-
# install some test tools
42-
pip install nose coverage ||
43-
error_exit "${SIG} ${LINENO}: can't install test tools for Python ${version}."
4442
done

optional-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ numpy
1313

1414
## testing dependencies ##
1515
nose==1.3.3
16+
coverage
1617

1718
## ipython dependencies ##
1819
ipython[all]==3.0.0

0 commit comments

Comments
 (0)
0