tito/.travis-install-kludge.sh
2014-02-28 15:38:25 +00:00

8 lines
254 B
Bash
Executable file

#!/bin/bash
# GitPython does not currently support python3 and
# may be replaced by pygit2.
# https://fedoraproject.org/wiki/User:Churchyard/python3
if [[ $(python --version 2>&1) =~ ^2 ]]; then
pip install 'GitPython >= 0.2.0' --use-mirrors --pre
fi