diff options
author | Feng Pan <fpan@redhat.com> | 2016-04-22 23:39:13 -0400 |
---|---|---|
committer | Feng Pan <fpan@redhat.com> | 2016-04-22 23:39:13 -0400 |
commit | 7d03038f3fa3d8daefcf8cfff15afb2d86cdf47e (patch) | |
tree | 3d30b5759b37373fc600e82b3b0489c4640fce0e /jjb/apex | |
parent | 601570061a2546bf426a8363eb36f8e02236bada (diff) |
apex: Add dependency for python34-PyYAML for verify
Change-Id: I412f57456d5dd8c34c90525f6066831351489aec
Signed-off-by: Feng Pan <fpan@redhat.com>
Diffstat (limited to 'jjb/apex')
-rw-r--r-- | jjb/apex/apex.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/jjb/apex/apex.yml b/jjb/apex/apex.yml index 1296b5b37..26090a3a3 100644 --- a/jjb/apex/apex.yml +++ b/jjb/apex/apex.yml @@ -855,6 +855,13 @@ exit 1 fi fi + if ! rpm -q python34-PyYAML > /dev/null; then + sudo yum install -y epel-release + if ! sudo yum install -y python34-PyYAML; then + echo "Failed to install python34-PyYAML" + exit 1 + fi + fi if [ -z ${PYTHONPATH:-} ]; then export PYTHONPATH=${WORKSPACE}/lib/python else |