Fix postinstall for npm job
npm jobs uses python3.5, but pip uses python2.7 to install horizon. This fixes this issue. Change-Id: Ib82a7461949e42eef5f155b13e7efbd7f65139f5
This commit is contained in:
parent
45b4e665e0
commit
d60bad7594
|
@ -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 senlin_dashboard/karma.conf.js --single-run",
|
||||
"lint": "eslint --no-color senlin_dashboard/static"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue