File tree Expand file tree Collapse file tree 6 files changed +2451
-13
lines changed Expand file tree Collapse file tree 6 files changed +2451
-13
lines changed Original file line number Diff line number Diff line change 1+ sudo : true
2+
13env :
24 matrix :
3- - export NODE_VERSION="4" CC=clang CXX=clang++ npm_config_clang=1
45 - export NODE_VERSION="6" CC=clang CXX=clang++ npm_config_clang=1
5- - export NODE_VERSION="7" CC=clang CXX=clang++ npm_config_clang=1
6+ - export NODE_VERSION="8" CC=clang CXX=clang++ npm_config_clang=1
7+ - export NODE_VERSION="10" CC=clang CXX=clang++ npm_config_clang=1
68
79branches :
810 only :
1416compiler : clang
1517
1618before_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
Original file line number Diff line number Diff line change 22environment :
33 matrix :
44 # Node.js
5- - nodejs_version : " 4"
65 - nodejs_version : " 6"
7- - nodejs_version : " 7"
6+ - nodejs_version : " 8"
7+ - nodejs_version : " 10"
88
99branches :
1010 only :
Original file line number Diff line number Diff line change 11const nsfw = require ( '../src/' ) ;
22const path = require ( 'path' ) ;
3- const promisify = require ( 'promisify-node' ) ;
4- const fse = promisify ( require ( 'fs-extra' ) ) ;
5- const exec = promisify ( ( command , options , callback ) =>
6- require ( 'child_process' ) . exec ( command , options , callback ) ) ;
3+ const fse = require ( 'fs-extra' ) ;
4+ const exec = require ( 'executive' ) ;
75
86jasmine . DEFAULT_TIMEOUT_INTERVAL = 120000 ;
97
Original file line number Diff line number Diff line change 11const { NSFW } = require ( '../../build/Release/nsfw.node' ) ;
2- const fse = require ( 'promisify-node' ) ( require ( ' fs-extra') ) ;
2+ const fse = require ( 'fs-extra' ) ;
33const path = require ( 'path' ) ;
44const _isInteger = require ( 'lodash.isinteger' ) ;
55const _isUndefined = require ( 'lodash.isundefined' ) ;
Original file line number Diff line number Diff line change 2727 ],
2828 "homepage" : " https://github.com/axosoft/node-simple-file-watcher" ,
2929 "dependencies" : {
30- "fs-extra" : " ^0.26.5 " ,
30+ "fs-extra" : " ^7.0.0 " ,
3131 "lodash.isinteger" : " ^4.0.4" ,
3232 "lodash.isundefined" : " ^3.0.1" ,
33- "nan" : " ^2.0.0" ,
34- "promisify-node" : " ^0.3.0"
33+ "nan" : " ^2.0.0"
3534 },
3635 "devDependencies" : {
3736 "babel-cli" : " ^6.5.1" ,
3837 "babel-preset-es2015" : " ^6.5.0" ,
3938 "eslint" : " ^2.2.0" ,
40- "jasmine-node" : " ^2.0.0"
39+ "executive" : " ^1.6.3" ,
40+ "jasmine-node" : " ^2.0.1"
4141 },
4242 "keywords" : [
4343 " FileWatcher" ,
You can’t perform that action at this time.
0 commit comments