File tree Expand file tree Collapse file tree 1 file changed +13
-9
lines changed
Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -6,20 +6,24 @@ python:
66 - " 3.3"
77 - " 3.4"
88
9+ env :
10+ - RUN=nosetests
11+ - RUN=build_sphinx
12+
913install :
1014 - pip install setuptools
1115 # core dependencies
12- - pip install pygments requests
16+ - if [[ $RUN == nosetests ]]; then pip install pygments requests; fi
1317 # curtsies specific dependencies
14- - pip install 'curtsies >=0.1.15,<0.2.0' greenlet
18+ - if [[ $RUN == nosetests ]]; then pip install 'curtsies >=0.1.15,<0.2.0' greenlet; fi
1519 # translation specific dependencies
16- - pip install babel
20+ - if [[ $RUN == nosetests ]]; then pip install babel; fi
1721 # documentation specific dependencies
18- - pip install sphinx
19- - if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install unittest2; fi
20- - python setup.py install
22+ - if [[ $RUN == build_sphinx ]]; then pip install sphinx; fi
23+ - if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]] && [[ $RUN == nosetests ]] ; then pip install unittest2; fi
24+ - if [[ $RUN == nosetests ]]; then python setup.py install; fi
2125
2226script :
23- - python setup.py build_sphinx
24- - cd build/lib/
25- - nosetests bpython/test
27+ - if [[ $RUN == build_sphinx ]]; then python setup.py build_sphinx; fi
28+ - if [[ $RUN == build_sphinx ]]; then python setup.py build_sphinx_man; fi
29+ - if [[ $RUN == nosetests ]]; then cd build/lib/ && nosetests bpython/test; fi
You can’t perform that action at this time.
0 commit comments