Skip to content

Commit cee5a10

Browse files
authored
ci: fixes ENOSPC warnings (#2256)
1 parent 1fd4d5f commit cee5a10

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ node_js:
44
cache:
55
- npm
66
- yarn
7+
before_install:
8+
# Fixes an issue where the max file watch count is exceeded, triggering ENOSPC
9+
# https://stackoverflow.com/questions/22475849/node-js-error-enospc#32600959
10+
- echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
711
script:
812
- yarn lint
913
- yarn test

0 commit comments

Comments
 (0)