For a Laravel project I use Travis Ci with the language option as PHP. Besides PHP I want to do some Node JS testing. The default installed version of Node JS does not meet
In search for an answer to the same question I ended up here, and there, and this helped me:
language: php
php:
- 7.0
- 7.1
before_install:
- nvm install 6.10
install
- npm install
Note: Installing this in the before_install
section as I am installing the actual packages in the install
section.