Fix postinstall for npm job
npm jobs uses python3.5, but pip uses python2.7 to install horizon. This fixes this issue. Change-Id: Idc5df31d20def2d29cb1502e5d88946e1be6ae36
This commit is contained in:
parent
34aa9d7ef3
commit
33b1bae56a
@ -21,7 +21,7 @@
|
||||
"phantomjs-prebuilt": "2.1.x"
|
||||
},
|
||||
"scripts": {
|
||||
"postinstall": "if [ ! -d .tox ] || [ ! -d .tox/karma ]; then tox -ekarma --notest; pip install -U -t ./.tox/karma/lib/python3.5/site-packages/ ../horizon; fi",
|
||||
"postinstall": "if [ ! -d .tox ] || [ ! -d .tox/karma ]; then tox -ekarma --notest; python3.5 -m pip install -U -t ./.tox/karma/lib/python3.5/site-packages/ ../horizon; fi",
|
||||
"test": "karma start zun_ui/karma.conf.js --single-run",
|
||||
"lint": "eslint --no-color zun_ui/static",
|
||||
"lintq": "eslint --quiet zun_ui/static"
|
||||
|
Loading…
x
Reference in New Issue
Block a user