Skip to content

Commit a8e4e76

Browse files
committed
Run Linux CI with sudo and increase inotify limit
1 parent 075ce79 commit a8e4e76

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
sudo: true
2+
13
env:
24
matrix:
35
- export NODE_VERSION="6" CC=clang CXX=clang++ npm_config_clang=1
@@ -14,6 +16,7 @@ git:
1416
compiler: clang
1517

1618
before_install:
19+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p; fi
1720
- git clone https://github.com/creationix/nvm.git ./.nvm
1821
- source ./.nvm/nvm.sh
1922
- nvm install $NODE_VERSION

0 commit comments

Comments
 (0)