| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f2709c3 commit bb0044d
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,10 +13,14 @@ if [[ $RUN == nosetests ]]; then | |||
| 13 | 13 | pip install babel | |
| 14 | 14 | # Python 2.6 specific dependencies | |
| 15 | 15 | if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then | |
| 16 | - pip install unittest | ||
| 16 | + pip install unittest2 | ||
| 17 | 17 | fi | |
| 18 | 18 | # 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 | ||
| 20 | 24 | # build and install | |
| 21 | 25 | python setup.py install | |
| 22 | 26 | elif [[ $RUN == build_sphinx ]]; then | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,6 +15,4 @@ install: | |||
| 15 | 15 | - ./.travis.install.sh | |
| 16 | 16 | ||
| 17 | 17 | 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 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments