-
Notifications
You must be signed in to change notification settings - Fork 50
Description
I am getting this error in windows because of the way the find command uses its dashes and cant get past it and it is crashing my build :
C:\callscreen\coverage\PhantomJS 2.0.0 (Windows 8 0.0.0)>codecov
/ | | |
| | ___ | | ___ ___ ___ __
| | / _ \ / ` |/ _ / __/ _ \ \ / /
| |**| () | (| | __/ (| () \ V /
****/ **,||****/ /
v1.0.1
==> Detecting CI Provider
No CI Detected. Using git/mercurial
==> Configuration:
Endpoint: https://codecov.io
{ commit: '1ed0fcce4fab96b2367937a986bea916021491e3',
branch: 'develop',
token: 'asdasd',
package: 'node-v1.0.1' }
==> Building file structure
==> Generating gcov reports (skip via --disable=gcov)
$ find . -type f -name '.gcno' -exec gcov {} +
File not found - '_.gcno'
Failed to run gcov command.
==> Scanning for reports
FIND: Parameter format not correct
child_process.js:484
throw err;
^
Error: Command failed: find . -type f ( -name 'coverage.' -or -name 'nosetests.xml' -or -name 'jacoco_.xml' -or -name 'clover.xml' -or -name 'report.xml' -or -name 'cobertura.xml' -or -name 'luacov.report.out' -or -name 'lcov.info' -or -name '.lcov' -or -name 'gcov.info' -or -name '.gcov' -or -name '.lst' ) -not -name '.sh' -not -name '.data' -not -name '.py' -not -name '.class' -not -name '.xcconfig' -not -name 'Coverage.profdata' -not -name 'phpunit-code-coverage.xml' -not -name 'coverage.serialized' -not -name '.pyc' -not -name '.cfg' -not -name '.egg' -not -name '.whl' -not -name '.html' -not -name '.js' -not -name '.cpp' -not -name 'coverage.jade' -not -name 'include.lst' -not -name 'inputFiles.lst' -not -name 'createdFiles.lst' -not -name 'coverage.html' -not -name 'scoverage.measurements.' -not -name 'test___coverage.txt' -not -path '/vendor/' -not -path '/htmlcov/' -not -path '/home/cainus/' -not -path '/virtualenv/' -not -path '/js/generated/coverage/' -not -path '/.virtualenv/' -not -path '/virtualenvs/' -not -path '/.virtualenvs/' -not -path '/.env/' -not -path '/.envs/' -not -path '/env/' -not -path '/envs/' -not -path '/.venv/' -not -path '/.venvs/' -not -path '/venv/' -not -path '/venvs/' -not -path '/.git/' -not -path '/.hg/' -not -path '/.tox/' -not -path '/pycache/' -not -path '/.egg-info_' -not -path '/$bower_components/' -not -path '/node_modules/' -not -path '/conftest.c.gcov'
FIND: Parameter format not correct
at checkExecSyncError (child_process.js:441:13)
at execSync (child_process.js:481:13)
at Object.upload (C:\Users\AA Admin\AppData\Roaming\npm\node_modules\codecov\lib\codecov.js:260:18)
at Object.<anonymous> (C:\Users\AA Admin\AppData\Roaming\npm\node_modules\codecov\bin\codecov:24:9)
at Module._compile (module.js:434:26)
at Object.Module._extensions..js (module.js:452:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:475:10)
at startup (node.js:117:18)
Do you have a workaround for this or a parameter I can pass the file path on or something?