mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
remove unittest2 and fix various warnings in py3
This commit is contained in:
parent
091007ddf7
commit
bc4bd773a0
10 changed files with 76 additions and 61 deletions
|
|
@ -7,8 +7,7 @@ before_install:
|
|||
- sudo apt-get install -qq --no-install-recommends asciidoc
|
||||
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 nose mock --use-mirrors
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install --use-mirrors unittest2; else pip install --use-mirrors unittest2py3k; fi
|
||||
- pip install mock --use-mirrors
|
||||
- pip install . --use-mirrors
|
||||
- pip install --use-mirrors Markdown
|
||||
script: nosetests -s pelican
|
||||
script: python -m unittest discover
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue