diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2014-10-14 09:21:22 -0500 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2014-10-14 09:23:04 -0500 |
commit | 0cc035b2e9f0007b9bb754faffa53ce04bc02e25 (patch) | |
tree | 334be3c72554285a5b80bec1f8cb434f2bef8fbd /testsuite/install.sh | |
parent | b13f48afed03d49e5a664eaa05516a9e8fa63039 (diff) | |
download | bcfg2-0cc035b2e9f0007b9bb754faffa53ce04bc02e25.tar.gz bcfg2-0cc035b2e9f0007b9bb754faffa53ce04bc02e25.tar.bz2 bcfg2-0cc035b2e9f0007b9bb754faffa53ce04bc02e25.zip |
testsuite: simplify installation, run pip freeze on failure
Diffstat (limited to 'testsuite/install.sh')
-rwxr-xr-x | testsuite/install.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/install.sh b/testsuite/install.sh index 6f36d4bef..42f8b9243 100755 --- a/testsuite/install.sh +++ b/testsuite/install.sh @@ -2,6 +2,9 @@ # install script for Travis-CI +sudo apt-get update -qq +sudo apt-get install swig libxml2-utils + 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]))') @@ -16,6 +19,8 @@ if [[ "$WITH_OPTIONAL_DEPS" == "yes" ]]; then if [[ ${PYVER:0:1} == "2" ]]; then # django supports py3k, but South doesn't, and the django bits # in bcfg2 require South + sudo apt-get install -y yum libaugeas0 augeas-lenses libacl1-dev \ + libssl-dev pip install cheetah 'South<0.8' pip install m2crypto fi |