Skip to content

Commit

Permalink
add precache stage to warm cache for jobs based default Node.js version
Browse files Browse the repository at this point in the history
default version is 9, currently.

Signed-off-by: Christopher Hiller <[email protected]>
  • Loading branch information
boneskull committed Apr 4, 2018
1 parent ff9f3cf commit c587b7f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# these are executed in order. each must pass for the next to be run
stages:
- smoke # this ensures a "user" install works properly
- precache # warm up cache for default Node.js version
- lint # lint code and docs
- test # all tests

Expand Down Expand Up @@ -56,6 +57,9 @@ jobs:
- <<: *smoke
node_js: '4'

- stage: precache
script: true

notifications:
email: false
urls:
Expand Down

0 comments on commit c587b7f

Please sign in to comment.