Skip to content

Commit

Permalink
Add Travis CI config (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobr-google authored Jul 5, 2017
1 parent 7a5b6e9 commit caea0e8
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
language: dart
sudo: false

dart:
- dev
- stable

dart_task:
- test: --platform vm
- test: --platform firefox

# Only run one instance of the formatter and the analyzer, rather than running
# them against each Dart version.
matrix:
include:
- dart: stable
dart_task: dartfmt
- dart: dev
dart_task: 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 caea0e8

Please sign in to comment.