From f6b0a34da6dc6c1d08b6ec53a268c131e9332898 Mon Sep 17 00:00:00 2001 From: JP Phillips Date: Mon, 11 Sep 2017 11:07:50 -0500 Subject: [PATCH] sudo pip install for now (#414) --- scripts/before_install.sh | 4 +--- scripts/before_script.sh | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/before_install.sh b/scripts/before_install.sh index 25c337012..489013c15 100755 --- a/scripts/before_install.sh +++ b/scripts/before_install.sh @@ -3,9 +3,7 @@ set -ev if [[ $TESTDIR == adaptor/mongodb* ]]; then - pip install pyOpenSSL ndg-httpsclient pyasn1 python-dev libssl-dev libffi-dev - - pip install "mongo-orchestration>=0.6.7,<1.0" + sudo pip install "mongo-orchestration>=0.6.7,<1.0" wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1404-$MONGODB_VERSION.tgz diff --git a/scripts/before_script.sh b/scripts/before_script.sh index 5c991d4af..59c16b9f0 100755 --- a/scripts/before_script.sh +++ b/scripts/before_script.sh @@ -32,7 +32,7 @@ case "$TESTDIR" in # Install haproxy-1.5 sudo add-apt-repository -y ppa:vbernat/haproxy-1.5 sudo apt-get update -qq - sudo apt-get install haproxy + sudo apt-get install -y haproxy sudo service rabbitmq-server start sleep 10 sudo haproxy -f config/rabbitmq/haproxy.cfg -db &