forked from EnigmaCurry/blogofile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
29 lines (27 loc) · 888 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[tox]
envlist = py32,py27
sdist_args = -t manifest/MANIFEST.test.in
[testenv:py32]
deps=
nose
commands=
python3 {toxinidir}/../blogofile_blog/setup.py sdist
easy_install {toxinidir}/blogofile/tests/plugin/plugin_test
easy_install {toxinidir}/../blogofile_blog/dist/blogofile_blog-0.8.tar.gz
nosetests
nosetests-2.7 {toxinidir}/blogofile/tests/browser/test_chrome.py
[testenv:py27]
deps=
3to2
nose
selenium
commands=
easy_install {distdir}/Blogofile-0.8-DEV.zip
python3 {toxinidir}/../blogofile_blog/setup.py sdist
easy_install {toxinidir}/blogofile/tests/plugin/plugin_test
easy_install {toxinidir}/../blogofile_blog/dist/blogofile_blog-0.8.tar.gz
mkdir -p {envtmpdir}/tests_py2
cp -a blogofile/tests {envtmpdir}/tests_py2
3to2 -w {envtmpdir}/tests_py2
nosetests -w {envtmpdir}/tests_py2
#nosetests {toxinidir}/blogofile/tests/browser/test_chrome.py