Skip to content

Commit

Permalink
Travis: only test master branch and pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo committed Sep 12, 2017
1 parent bb05f61 commit 279ba54
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ dart:
- dev
- stable
- 1.21.1
cache:
directories:
- $HOME/.pub-cache

dart_task:
- test: --platform vm
xvfb: false
Expand All @@ -15,3 +13,11 @@ dart_task:
install_dartium: true
- dartfmt
- dartanalyzer

# Only building master means that we don't run two builds for each pull request.
branches:
only: [master]

cache:
directories:
- $HOME/.pub-cache

0 comments on commit 279ba54

Please sign in to comment.