You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/03/06 15:09:01 UTC

[GitHub] Antonio-Maranhao commented on a change in pull request #1059: use npm ci on travis

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_r172545121
 
 

 ##########
 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:
   Travis is running `npm install` before getting to this part - it's automatic for Node projects that don't have a `install` section - which means `package-lock` could have been changed before `npm ci` runs.
   The alternative is to override the default by moving these two lines to `install` section.
   https://docs.travis-ci.com/user/customizing-the-build/#Customizing-the-Installation-Step

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services