File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,9 +20,9 @@ install:
2020 # Get the latest stable version of Node.js or io.js
2121 - ps : Install-Product node $env:nodejs_version
2222
23- # update npm
24- - npm -g install npm@2
25- - set PATH=%APPDATA%\npm;%PATH%
23+ # update npm (only needed for Node 0.10)
24+ # - npm -g install npm@2
25+ # - set PATH=%APPDATA%\npm;%PATH%
2626
2727 # install modules
2828 - npm install
@@ -37,11 +37,11 @@ test_script:
3737 - node --version
3838 - npm --version
3939 # Lint
40- - eslint ./src
40+ - $(npm bin)/ eslint ./src
4141 # Compile
4242 - npm run-script pretest
4343 # core tests
44- - mocha tests/lib/ --recursive --reporter dot
44+ - $(npm bin)/ mocha tests/lib/ --recursive --reporter dot
4545 # resolver tests
4646 - cd .\resolvers\webpack && npm test && cd ..\..
4747 - cd .\resolvers\node && npm test && cd ..\..
You can’t perform that action at this time.
0 commit comments