From 70ff95e27c7ba347b46ec13572c5968b48d4e2ef Mon Sep 17 00:00:00 2001 From: Matan Lurey Date: Sun, 11 Jun 2017 14:50:57 -0700 Subject: [PATCH] Do less travis work. (#65) --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 130ae8b..97f3603 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,6 +19,10 @@ dart_task: # If we're successful this far, then report coverage information to coveralls. after_script: dart tool/coverage.dart +# Only building master means that we don't run two builds for each pull request. +branches: + only: [master] + # The Dart language is constantly being worked on, and sometimes the dev and # stable builds don't agree on what is considered formatted or what is analysis # warning free (though this does not effect _using_ the library, likely).