Merge pull request #106 from curtacircuitos/ph-upgrade-requirements
Upgrade nose and coverage
This commit is contained in:
commit
2830fd268d
7 changed files with 15 additions and 13 deletions
|
|
@ -8,8 +8,7 @@ python:
|
|||
|
||||
# command to install dependencies
|
||||
install:
|
||||
- "pip install -r requirements.txt"
|
||||
- "pip install -r test-requirements.txt"
|
||||
- "pip install -r requirements-dev.txt"
|
||||
- "pip install coveralls"
|
||||
|
||||
# command to run tests
|
||||
|
|
|
|||
|
|
@ -48,11 +48,11 @@ Documentation:
|
|||
Development and Testing:
|
||||
------------------------
|
||||
|
||||
Dependencies for developing and testing pcb-tools are listed in test-requirements.txt. Use of a virtual environment is strongly recommended.
|
||||
Dependencies for developing and testing pcb-tools are listed in requirements-dev.txt. Use of a virtual environment is strongly recommended.
|
||||
|
||||
$ virtualenv venv
|
||||
$ source venv/bin/activate
|
||||
(venv)$ pip install -r test-requirements.txt
|
||||
(venv)$ pip install -r requirements-dev.txt
|
||||
(venv)$ pip install -e .
|
||||
|
||||
We use nose to run pcb-tools's suite of unittests and doctests.
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
# Doc requirements
|
||||
Sphinx==1.2.3
|
||||
numpydoc==0.5
|
||||
|
||||
5
requirements-dev.txt
Normal file
5
requirements-dev.txt
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# install base requirements
|
||||
-r requirements.txt
|
||||
|
||||
coverage==4.5.4
|
||||
nose==1.3.7
|
||||
6
requirements-docs.txt
Normal file
6
requirements-docs.txt
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# install base requirements
|
||||
-r requirements.txt
|
||||
|
||||
# documentation generation support
|
||||
Sphinx==1.2.3
|
||||
numpydoc==0.5
|
||||
|
|
@ -1,2 +1,2 @@
|
|||
## The following requirements were added by pip --freeze:
|
||||
# cairo rendering support
|
||||
cairocffi==0.6
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
# Test requirements
|
||||
cairocffi==0.6
|
||||
coverage==3.7.1
|
||||
nose==1.3.4
|
||||
Loading…
Add table
Add a link
Reference in a new issue