Merge pull request #1228 from getpelican/testing

Clean up unit testing dependencies
This commit is contained in:
Justin Mayer 2014-01-21 10:35:39 -08:00
commit e60b5602ec
2 changed files with 3 additions and 17 deletions

View file

@ -8,8 +8,9 @@ before_install:
- sudo locale-gen fr_FR.UTF-8 tr_TR.UTF-8
install:
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then ln -s /usr/share/asciidoc/asciidocapi.py ~/virtualenv/python2.7/lib/python2.7/site-packages/; fi
- pip install mock nose nose-cov Markdown typogrify-web
- pip install .
- pip install -r dev_requirements.txt
- pip install nose-cov
script: nosetests -sv --with-coverage --cover-package=pelican pelican
after_success:
# Report coverage results to coveralls.io

17
tox.ini
View file

@ -8,19 +8,4 @@ envlist = py27,py33
commands =
python -m unittest discover
deps =
[testenv:py27]
deps =
mock
Markdown
BeautifulSoup4
typogrify-web
lxml
[testenv:py33]
deps =
mock
Markdown
BeautifulSoup4
typogrify-web
lxml
-rdev_requirements.txt