Merge "Also install ipaddr to robot system on CSIT start"
[releng/builder.git] / jjb / integration / include-raw-integration-install-robotframework.sh
1 #!/bin/bash
2
3 # @License EPL-1.0 <http://spdx.org/licenses/EPL-1.0>
4 ##############################################################################
5 # Copyright (c) 2015 The Linux Foundation and others.
6 #
7 # All rights reserved. This program and the accompanying materials
8 # are made available under the terms of the Eclipse Public License v1.0
9 # which accompanies this distribution, and is available at
10 # http://www.eclipse.org/legal/epl-v10.html
11 ##############################################################################
12
13 ROBOT_VENV=`mktemp -d --suffix=robot_venv`
14 echo ROBOT_VENV=${ROBOT_VENV} >> ${WORKSPACE}/env.properties
15
16 virtualenv ${ROBOT_VENV}
17 source ${ROBOT_VENV}/bin/activate
18 pip install -q docker-py importlib requests scapy netaddr ipaddr
19 pip install -q robotframework{,-{httplibrary,requests,sshlibrary}}
20
21 # vim: sw=4 ts=4 sts=4 et ft=sh :