File tree Expand file tree Collapse file tree 3 files changed +35
-11
lines changed
Expand file tree Collapse file tree 3 files changed +35
-11
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -e
3+ set -x
4+
5+ pip install setuptools
6+
7+ if [[ $RUN == nosetests ]] then
8+ # core dependencies
9+ pip install pygments requests ' curtsies >=0.1.16,<0.2.0' greenlet
10+ # filewatch specific dependencies
11+ pip install watchdog
12+ # translation specific dependencies
13+ pip install babel
14+ # Python 2.6 specific dependencies
15+ if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]] then
16+ pip install unittest
17+ fi
18+ # build and install
19+ python setup.py install
20+ elif [[ $RUN == build_sphinx ]] then
21+ # documentation specific dependencies
22+ pip install sphinx
23+ fi
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -e
3+ set -x
4+
5+ if [[ $RUN == build_sphinx ]] then
6+ python setup.py build_sphinx
7+ python setup.py build_sphinx_man
8+ elif [[ $RUN == nosetests ]] then
9+ cd build/lib/
10+ nosetests bpython/test
11+ fi
Original file line number Diff line number Diff line change 1212 - RUN=build_sphinx
1313
1414install :
15- - pip install setuptools
16- # core dependencies
17- - if [[ $RUN == nosetests ]]; then pip install pygments requests; fi
18- # curtsies specific dependencies
19- - if [[ $RUN == nosetests ]]; then pip install 'curtsies >=0.1.16,<0.2.0' greenlet watchdog; fi
20- # translation specific dependencies
21- - if [[ $RUN == nosetests ]]; then pip install babel; fi
22- # documentation specific dependencies
23- - if [[ $RUN == build_sphinx ]]; then pip install sphinx; fi
24- - if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]] && [[ $RUN == nosetests ]]; then pip install unittest2; fi
25- - if [[ $RUN == nosetests ]]; then python setup.py install; fi
15+ - ./.travis.install.sh
2616
2717script :
2818 - if [[ $RUN == build_sphinx ]]; then python setup.py build_sphinx; fi
You can’t perform that action at this time.
0 commit comments