Last Updated: February 25, 2016
·
2.55K
· helder

How to run Travis CI with Node.js 0.10

I have written .travis.yml like the example bellow:

language: node_js
node_js:
  - 0.8
  - 0.6

Now Node.js was updated to 0.10 and obviously I tried the following change:

language: node_js
node_js:
  - 0.10
  - 0.8
  - 0.6

The problem is that Travis CI yaml parser runs the 0.1 version instead of 0.10. To fix it you only need to add quotes:

language: node_js
node_js:
  - "0.10"
  - "0.8"
  - "0.6"

If you have more troubles, I strongly recommend you to check out the Travis CI docs.

Cheers!

2 Responses
Add your response

Awesome. Thanks!

over 1 year ago ·

Thanks a lot ! :)

over 1 year ago ·