forked from github/pelican
test docs via travis
* move build environment into tox * add new environment installing sphinx and testing for doc errors * reorganize dependency installs for easier management
This commit is contained in:
parent
249a919c59
commit
a45a917766
3 changed files with 30 additions and 18 deletions
16
.travis.yml
16
.travis.yml
|
|
@ -1,8 +1,11 @@
|
|||
language: python
|
||||
python:
|
||||
- "2.7"
|
||||
- "3.3"
|
||||
- "3.4"
|
||||
env:
|
||||
- TOX_ENV=docs
|
||||
- TOX_ENV=py27
|
||||
- TOX_ENV=py33
|
||||
- TOX_ENV=py34
|
||||
addons:
|
||||
apt_packages:
|
||||
- pandoc
|
||||
|
|
@ -10,13 +13,8 @@ before_install:
|
|||
- sudo apt-get update -qq
|
||||
- sudo locale-gen fr_FR.UTF-8 tr_TR.UTF-8
|
||||
install:
|
||||
- pip install .
|
||||
- pip install -r dev_requirements.txt
|
||||
- pip install nose-cov
|
||||
script: nosetests -sv --with-coverage --cover-package=pelican pelican
|
||||
after_success:
|
||||
- pip install coveralls
|
||||
- coveralls
|
||||
- pip install tox
|
||||
script: tox -e $TOX_ENV
|
||||
notifications:
|
||||
irc:
|
||||
channels:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue