37 lines
996 B
INI
37 lines
996 B
INI
|
[tox]
|
||
|
skipsdist = true
|
||
|
envlist = py{27,33,34}-pelican{34,35,36,dev}
|
||
|
|
||
|
[testenv]
|
||
|
basepython =
|
||
|
py27: python2.7
|
||
|
py33: python3.3
|
||
|
py34: python3.4
|
||
|
deps =
|
||
|
pelican34: git+https://github.com/getpelican/pelican.git@3.4.0#egg=pelican
|
||
|
pelican35: git+https://github.com/getpelican/pelican.git@3.5.0#egg=pelican
|
||
|
pelican36: git+https://github.com/getpelican/pelican.git@3.6.3#egg=pelican
|
||
|
pelicandev: git+https://github.com/getpelican/pelican.git#egg=pelican
|
||
|
beautifulsoup4
|
||
|
-rdev_requirements.txt
|
||
|
passenv = *
|
||
|
install_command= pip install {opts} -e {packages}
|
||
|
commands =
|
||
|
{envpython} --version
|
||
|
pelican --version
|
||
|
{envpython} test_toc.py
|
||
|
|
||
|
[flake8]
|
||
|
application-import-names=toc
|
||
|
import-order-style=cryptography
|
||
|
|
||
|
[testenv:flake8]
|
||
|
basepython = python2.7
|
||
|
deps =
|
||
|
flake8 <= 2.4.1
|
||
|
git+https://github.com/public/flake8-import-order@2ac7052a4e02b4a8a0125a106d87465a3b9fd688
|
||
|
install_command= pip install {opts} {packages}
|
||
|
commands =
|
||
|
flake8 --version
|
||
|
flake8 toc.py
|