Skip to content

Commit

Permalink
Test using version of tap installed by npm install
Browse files Browse the repository at this point in the history
Use `node_modules/.bin/tap` instead of just `tap`
so that testing works even without a globally set up
Node.js environment.
  • Loading branch information
addaleax authored and kkoopa committed Aug 17, 2015
1 parent 2399dea commit 13596c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ install:
- $CXX --version
- npm/.bin/npm install
- if [[ $TRAVIS_NODE_VERSION == "0.8" ]]; then node_modules/.bin/node-gyp rebuild --directory test; else node_modules/.bin/pangyp rebuild --directory test; fi
script: if [[ $TRAVIS_OS_NAME == "linux" ]]; then tap --gc test/js/*-test.js; else node_modules/.bin/tap --gc teset/js/*-test.js; fi
script: node_modules/.bin/tap --gc test/js/*-test.js

0 comments on commit 13596c0

Please sign in to comment.