From a761a7fc64dd507ed74abd311789addc8d4e890c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moise=CC=81s=20Guimara=CC=83es?= Date: Wed, 18 Jan 2017 19:19:03 -0200 Subject: [PATCH] updates provisioners --- wrapper/python/wolfssl/.centos-provisioner.sh | 8 +++++--- wrapper/python/wolfssl/.ubuntu-provisioner.sh | 5 ++++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/wrapper/python/wolfssl/.centos-provisioner.sh b/wrapper/python/wolfssl/.centos-provisioner.sh index 302b64c7c..fc0ec19a7 100644 --- a/wrapper/python/wolfssl/.centos-provisioner.sh +++ b/wrapper/python/wolfssl/.centos-provisioner.sh @@ -1,7 +1,7 @@ [ "$(whoami)" != "root" ] && echo "Sorry, you are not root." && exit 1 -rpm -ivh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-9.noarch.rpm -yum update +rpm -ivh http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm + yum install -y \ git autoconf libtool libffi-devel python-devel python34-devel python2-pip @@ -28,7 +28,9 @@ pushd /vagrant pip install -r requirements-testing.txt -make check +make clean + +tox -epy27,py34 -- -v popd diff --git a/wrapper/python/wolfssl/.ubuntu-provisioner.sh b/wrapper/python/wolfssl/.ubuntu-provisioner.sh index 075a93994..30ee7f6fc 100644 --- a/wrapper/python/wolfssl/.ubuntu-provisioner.sh +++ b/wrapper/python/wolfssl/.ubuntu-provisioner.sh @@ -1,6 +1,7 @@ [ "$(whoami)" != "root" ] && echo "Sorry, you are not root." && exit 1 apt-get update + apt-get install -y \ git autoconf libtool python-dev python3-dev python-pip libffi-dev @@ -25,7 +26,9 @@ pushd /vagrant pip install -r requirements-testing.txt -make check +make clean + +tox -epy27,py34 -- -v popd