forked from bpython/bpython
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.install.sh
executable file
·41 lines (39 loc) · 994 Bytes
/
.travis.install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/bash
set -e
set -x
pip install setuptools
if [[ $RUN == nosetests ]]; then
# core dependencies
pip install pygments
pip install requests
pip install 'curtsies >=0.1.17'
pip install greenlet
pip install 'six >=1.5'
# filewatch specific dependencies
pip install watchdog
# jedi specific dependencies
pip install jedi
# translation specific dependencies
pip install babel
# Python 2.6 specific dependencies
if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then
pip install unittest2
fi
case $TRAVIS_PYTHON_VERSION in
2*)
# dependencies for crasher tests
pip install Twisted urwid
# test specific dependencies
pip install mock
;;
pypy)
# test specific dependencies
pip install mock
;;
esac
# build and install
python setup.py install
elif [[ $RUN == build_sphinx ]]; then
# documentation specific dependencies
pip install sphinx
fi