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!
Written by Helder Santana
Related protips
2 Responses
Awesome. Thanks!
over 1 year ago
·
Thanks a lot ! :)
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Travis ci
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#