Skip to content

Commit

Permalink
Run Linux CI with sudo and increase inotify limit
Browse files Browse the repository at this point in the history
  • Loading branch information
emmax86 committed Oct 5, 2018
1 parent 075ce79 commit a8e4e76
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
sudo: true

env:
matrix:
- export NODE_VERSION="6" CC=clang CXX=clang++ npm_config_clang=1
Expand All @@ -14,6 +16,7 @@ git:
compiler: clang

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

0 comments on commit a8e4e76

Please sign in to comment.