Disable telemetry for tests (#8725)

This commit is contained in:
Joe Haddad 2019-09-12 22:51:56 -04:00 committed by GitHub
parent 80ab8dd991
commit d046dc6072
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -50,6 +50,8 @@ commands:
circleci tests glob "test/**/*.test.*" | \
circleci tests split
)
environment:
NEXT_TELEMETRY_DISABLED: '1'
test_browser:
parameters:
browser:
@ -66,6 +68,7 @@ commands:
environment:
BROWSERSTACK: 'true'
BROWSER_NAME: << parameters.browser >>
NEXT_TELEMETRY_DISABLED: '1'
save_npm_token:
steps:
- run:

View file

@ -1,6 +1,9 @@
pool:
vmImage: 'vs2017-win2016'
variables:
NEXT_TELEMETRY_DISABLED: '1'
strategy:
maxParallel: 10
matrix: