Antonio-Maranhao commented on a change in pull request #1059: use npm ci on 
travis
URL: https://github.com/apache/couchdb-fauxton/pull/1059#discussion_r172547874
 
 

 ##########
 File path: .travis.yml
 ##########
 @@ -9,7 +9,8 @@ git:
 
 before_script:
   - travis_retry ./bin/docker-up-and-check.sh
-  - npm install
+  - npm install -g npm@latest
+  - npm ci
 
 Review comment:
   Just saw 
https://docs.travis-ci.com/user/languages/javascript-with-nodejs/#Using-a-specific-npm-version
 which recommends `npm install -g npm@latest` should be on the  
`before_install` section.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to