Don't run coverage or docs in OS-X Travis instance (#11144)

This commit is contained in:
Todd Volkert
2017-07-10 16:20:14 -07:00
committed by GitHub
parent 4d706ef1a3
commit 7f0c98ab0b
2 changed files with 7 additions and 4 deletions

View File

@@ -139,8 +139,9 @@ Future<Null> _runTests() async {
Future<Null> _runCoverage() async {
if (Platform.environment['TRAVIS'] == null ||
Platform.environment['TRAVIS_PULL_REQUEST'] != 'false') {
print('${bold}DONE: test.dart does not run coverage for Travis pull requests');
Platform.environment['TRAVIS_PULL_REQUEST'] != 'false' ||
Platform.environment['TRAVIS_OS_NAME'] != 'linux') {
print('${bold}DONE: test.dart does not run coverage for Travis pull requests or not non-Linux environments');
return;
}