Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit 808875a

Browse files
committed
chore(travis): use reporter iff TRAVIS_SECURE_ENV_VARS=true
Closes #1668
1 parent a738bc1 commit 808875a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

benchmark/_reporter.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,7 @@ class Reporter {
8989

9090
bool _saveToServer = false;
9191
// Must have NGDASH_USER_EMAIL and NGDASH_USER_SECRET for AngularDart branches on Travis.
92-
bool get _requireCredentials => Platform.environment["TRAVIS"] == "true" &&
93-
Platform.environment["TRAVIS_PULL_REQUEST"] == "false";
92+
bool get _requireCredentials => Platform.environment["TRAVIS_SECURE_ENV_VARS"] == "true";
9493

9594

9695
Reporter() {

0 commit comments

Comments
 (0)