-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathbuild.sh
More file actions
executable file
·43 lines (34 loc) · 800 Bytes
/
build.sh
File metadata and controls
executable file
·43 lines (34 loc) · 800 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/bash
command -v source >/dev/null 2>&1 || {
echo "I require source but it's not installed. Aborting." >&2; exit 1;
}
echo "HOME: $HOME"
echo "PWD: $PWD"
which python3
which pip3
python3 -V
curl https://bootstrap.pypa.io/pip/3.5/get-pip.py -o get-pip.py
python3 get-pip.py
hash -r
pip3 -V
# pip3 list
# pip3 install -U pip==20.3.4
pip3 install virtualenv
pip3 list
virtualenv -p python3 env
#virtualenv -p python2 env
source env/bin/activate
pip3 list
pip3 install -r requirements.txt
python build.py sdist --formats=zip
pip3 install dist/proactive*.zip
pip3 list
cd docs
make html
cd ..
if [ -z "$1" ]
then
echo "No Tests will run"
else
pytest --metadata proactive_url "$1" --metadata username "$2" --metadata password "$3" --junit-xml=build/reports/TEST-report.xml
fi