How to write .travis.yml if my project deps on python and nodejs?

我是研究僧i 提交于 2019-12-01 17:04:33

Instead of using sudo, pass the --user flag into pip (e.g., pip install --user django) to install the package in the home directory. This approach also works in Travis’ container-based infrastructure, which disallows sudo.

It's kind of solved.A sudo must be prepend to 'pip install'.

I guess 'npm install -g grunt-cli' does not need sudo because it's a 'node_js' project.Right?

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!