powerline/tests/install.sh

16 lines
418 B
Bash
Raw Normal View History

#!/bin/sh
pip install .
2013-03-17 10:00:01 +01:00
pip install psutil
if python -c 'import sys; sys.exit(1 * (sys.version_info[0] != 2))' ; then
# Python 2
2013-02-25 18:26:22 +01:00
pip install mercurial bzr
if python -c 'import sys; sys.exit(1 * (sys.version_info[1] >= 7))' ; then
# Python 2.6
pip install unittest2 argparse
fi
fi
2014-01-23 15:33:33 +01:00
sudo apt-get install -qq screen zsh
# Travis has too outdated fish. It cannot be used for tests.
# sudo apt-get install fish
2013-05-02 10:59:50 +02:00
true