Skip to content

Commit

Permalink
Go back to nose for travis
Browse files Browse the repository at this point in the history
  • Loading branch information
coretl committed Apr 27, 2017
1 parent f6b0382 commit 7d734cd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ install:

# command to run tests
script:
- pytest -vv --continue-on-collection-errors --tb=native tests
- nosetests tests

after_script:
- coveralls
8 changes: 6 additions & 2 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@ To get the source source code and run the unit tests, run::
$ virtualenv --no-site-packages -p /path/to/python2.7 venv27
$ . venv27/bin/activate
$ pip install -r requirements/test.txt
$ python setup.py install
$ python setup.py nosetests
$ nosetests tests

You might want to use the pytest runner::

$ pip install pytest pytest-catchlog
$ pytest -vv --tb=native tests

While 100% code coverage does not make a library bug-free, it significantly
reduces the number of easily caught bugs! Please make sure coverage is at 100%
Expand Down
2 changes: 0 additions & 2 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,3 @@ scanpointgenerator>=2.1.0
git+git://github.com/thomascobb/cothread
ruamel.yaml
plop==0.3.0
pytest
pytest-catchlog

0 comments on commit 7d734cd

Please sign in to comment.