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

后端 未结 2 509
隐瞒了意图╮
隐瞒了意图╮ 2021-01-18 11:10

My project includes some python codes and build with grunt.I write .travis.yml like:

language: node_js
before_install:
  - pip inst         


        
2条回答
  •  心在旅途
    2021-01-18 11:34

    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?

提交回复
热议问题