diff --git a/.gitignore b/.gitignore index d545580..e4c5b0e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,13 @@ -test/repo-just-for-test* +**/node_modules/ +**/*.log +test/repo-tests* +**/bundle.js # Logs logs *.log -npm-debug.log* + +coverage # Runtime data pids @@ -22,17 +26,17 @@ coverage # node-waf configuration .lock-wscript -# Compiled binary addons (http://nodejs.org/api/addons.html) -build/Release +build # Dependency directory +# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git node_modules -# Optional npm cache directory -.npm - -# Optional REPL history -.node_repl_history - +lib dist -test/example-repo/datastore/LOG* +test/test-data/go-ipfs-repo/LOCK +test/test-data/go-ipfs-repo/LOG +test/test-data/go-ipfs-repo/LOG.old + +# while testing npm5 +package-lock.json diff --git a/.travis.yml b/.travis.yml index 088e927..584f308 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,21 +3,18 @@ language: node_js matrix: include: - - node_js: 4 - env: CXX=g++-4.8 - node_js: 6 env: CXX=g++-4.8 - - node_js: stable + - node_js: 8 env: CXX=g++-4.8 - -# Make sure we have new NPM. -before_install: - - npm install -g npm@4 + # - node_js: stable + # env: CXX=g++-4.8 script: - npm run lint - - npm test + - npm run test - npm run coverage + - make test before_script: - export DISPLAY=:99.0