Merge "[doctor] drop experimental job (profiler)"
[releng.git] / jjb / qtip / helpers / validate-setup.sh
1 #!/usr/bin/env bash
2 ##############################################################################
3 # Copyright (c) 2017 ZTE and others.
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9
10 set -e
11
12 # setup virtualenv
13 sudo pip install -u virtualenv virtualenvwrapper
14 export WORKON_HOME=$HOME/.virtualenvs
15 source /usr/local/bin/virtualenvwrapper.sh
16 mkvirtualenv qtip
17 workon qtip
18
19 # setup qtip
20 sudo pip install $HOME/repos/qtip
21
22 # testing
23 qtip --version
24 qtip --help