Commit 5ad1274 1 parent ec902ec commit 5ad1274 Copy full SHA for 5ad1274
File tree 2 files changed +19
-17
lines changed
2 files changed +19
-17
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
+ set -ex
3
+
4
+ # show pip config
5
+ pip config list
6
+
2
7
oca_install_addons__deps_and_addons_path
8
+
9
+ # show what we have installed
10
+ pip freeze
11
+
12
+ # Add ADDONS_DIR to addons_path.
13
+ echo " addons_path=${ADDONS_PATH} ,${ADDONS_DIR} " >> ${ODOO_RC}
14
+ cat ${ODOO_RC}
15
+
16
+ deps=$( oca_list_external_dependencies deb)
17
+ if [ -n " $deps " ]; then
18
+ apt-get update -qq
19
+ # Install 'deb' external dependencies of all Odoo addons found in path.
20
+ DEBIAN_FRONTEND=noninteractive apt-get install -qq --no-install-recommends ${deps}
21
+ fi
Original file line number Diff line number Diff line change 38
38
fi
39
39
cat test-constraints.txt
40
40
41
- # show pip config
42
- pip config list
43
-
44
41
# Install dependencies of addons to test.
45
42
pip install -r test-requirements.txt -c test-constraints.txt
46
-
47
- # show what we have installed
48
- pip freeze
49
-
50
- # Add ADDONS_DIR to addons_path.
51
- echo " addons_path=${ADDONS_PATH} ,${ADDONS_DIR} " >> ${ODOO_RC}
52
- cat ${ODOO_RC}
53
-
54
- deps=$( oca_list_external_dependencies deb)
55
- if [ -n " $deps " ]; then
56
- apt-get update -qq
57
- # Install 'deb' external dependencies of all Odoo addons found in path.
58
- DEBIAN_FRONTEND=noninteractive apt-get install -qq --no-install-recommends ${deps}
59
- fi
You can’t perform that action at this time.
0 commit comments