Is it possible to set up travis to run tests for several languages?

前端 未结 3 1388
心在旅途
心在旅途 2020-12-23 21:25

I have a rails project and am running tests for my JavaScript test (Jasmine) through Karma

.travis.yml file

language: ruby
rvm:
  - 2.0.0
script:
  -         


        
3条回答
  •  悲哀的现实
    2020-12-23 21:52

    When the language key in .travis.yml is set to node, Travis will run nvm install 0.12 at the beginning of the build. Similarly, for a Ruby project, Travis will run rvm use 2.2.2 --install --binary --fuzzy at the beginning of the build.

    I've had success running both commands in a Bash build

提交回复
热议问题