diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-12-05 14:46:13 -0500 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-12-05 14:46:13 -0500 |
commit | e707a8efc798950bb4151686766b14fccf913632 (patch) | |
tree | bb65379a590728c173df281f01bede4d61601629 /testsuite/install.sh | |
parent | a15439cbfd0cdc9687e80216ec43ae941d4b5323 (diff) | |
download | bcfg2-e707a8efc798950bb4151686766b14fccf913632.tar.gz bcfg2-e707a8efc798950bb4151686766b14fccf913632.tar.bz2 bcfg2-e707a8efc798950bb4151686766b14fccf913632.zip |
testsuite: install (most) optional dependencies correctly for travis-ci
Still can't get the python selinux libs to install
Diffstat (limited to 'testsuite/install.sh')
-rwxr-xr-x | testsuite/install.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/testsuite/install.sh b/testsuite/install.sh index 574eb17ed..9de5b8c6d 100755 --- a/testsuite/install.sh +++ b/testsuite/install.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -ex # install script for Travis-CI @@ -7,10 +7,13 @@ pip install -r testsuite/requirements.txt --use-mirrors PYVER=$(python -c 'import sys;print(".".join(str(v) for v in sys.version_info[0:2]))') if [[ "$WITH_OPTIONAL_DEPS" == "yes" ]]; then - pip install --use-mirrors genshi PyYAML pyinotify boto 'django<1.5' + pip install --use-mirrors genshi PyYAML pyinotify boto 'django<1.5' \ + pylibacl + easy_install https://fedorahosted.org/released/python-augeas/python-augeas-0.4.1.tar.gz if [[ ${PYVER:0:1} == "2" ]]; then # django supports py3k, but South doesn't, and the django bits # in bcfg2 require South - pip install cheetah 'South<0.8' M2Crypto + pip install cheetah 'South<0.8' + pip install m2crypto fi fi |