File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,14 @@ if [[ $RUN == nosetests ]]; then
1313 pip install babel
1414 # Python 2.6 specific dependencies
1515 if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then
16- pip install unittest
16+ pip install unittest2
1717 fi
1818 # dependencies for crasher tests
19- pip install Twisted urwid
19+ case $TRAVIS_PYTHON_VERSION in
20+ 2* )
21+ pip install Twisted urwid
22+ ;;
23+ esac
2024 # build and install
2125 python setup.py install
2226elif [[ $RUN == build_sphinx ]]; then
Original file line number Diff line number Diff line change @@ -15,6 +15,4 @@ install:
1515 - ./.travis.install.sh
1616
1717script :
18- - if [[ $RUN == build_sphinx ]]; then python setup.py build_sphinx; fi
19- - if [[ $RUN == build_sphinx ]]; then python setup.py build_sphinx_man; fi
20- - if [[ $RUN == nosetests ]]; then cd build/lib/ && nosetests bpython/test; fi
18+ - ./.travis.script.sh
You can’t perform that action at this time.
0 commit comments