diff --git a/.travis.yml b/.travis.yml index 38639879bd..e8ec9158dc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,7 @@ cache: - $HOME/node env: global: + - COVERAGE_FILE=var/.coverage - COVERALLS_PARALLEL=true - COVERALLS_SERVICE_NAME=travis-pro - COVERALLS_REPO_TOKEN=hnXUEBKsORKHc8xIENGs9JjktlTb2HKlG diff --git a/tools/run-mypy b/tools/run-mypy index 155e128b01..f3b6530556 100755 --- a/tools/run-mypy +++ b/tools/run-mypy @@ -149,7 +149,7 @@ if python_files: if args.linecoverage_report: # Move the coverage report to where coveralls will look for it. try: - os.rename('var/linecoverage-report/coverage.txt', '.coverage') + os.rename('var/linecoverage-report/coverage.txt', 'var/.coverage') except OSError: # maybe mypy crashed; exit with its error code pass