Skip to content

Commit

Permalink
ci: fixes ENOSPC warnings (Hacker0x01#2256)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt authored Jul 9, 2020
1 parent 1fd4d5f commit cee5a10
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
Expand Up @@ -4,6 +4,10 @@ node_js:
cache:
- npm
- yarn
before_install:
# Fixes an issue where the max file watch count is exceeded, triggering ENOSPC
# https://stackoverflow.com/questions/22475849/node-js-error-enospc#32600959
- echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
script:
- yarn lint
- yarn test
Expand Down

0 comments on commit cee5a10

Please sign in to comment.