X Tutup
Skip to content

Commit bb0044d

Browse files
committed
Install crasher test cases only on Python 2.x
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
1 parent f2709c3 commit bb0044d

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.travis.install.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff 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
2226
elif [[ $RUN == build_sphinx ]]; then

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,4 @@ install:
1515
- ./.travis.install.sh
1616

1717
script:
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

0 commit comments

Comments
 (0)
X Tutup