mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge pull request #1228 from getpelican/testing
Clean up unit testing dependencies
This commit is contained in:
commit
e60b5602ec
2 changed files with 3 additions and 17 deletions
|
|
@ -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
17
tox.ini
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue