Skip to content

Speed up build time in Travis

Created by: epiclabsDASH

These changes reduce build time from 3-4 minutes to around 2 minutes. Changes:

  • Setup cache for node_modules folder to speed up build times in Travis and so our CI process
  • Don't build on prepublish npm task. That implies Travis building two times the project per request (one after npm install, the other one to prepare the deployment). Furthermore, for local environment, I don't see any reason for building the project during npm install.

Merge request reports