mirror of https://github.com/grpc/grpc-dart.git
Enable travis (#15)
* Create .travis.yml Initial travis config, based on https://github.com/dart-lang/source_gen/blob/master/.travis.yml * Update .travis.yml * Fix filename * Review feedback
This commit is contained in:
parent
aee8e4a3c3
commit
b0c284578a
|
@ -0,0 +1,32 @@
|
||||||
|
language: dart
|
||||||
|
sudo: false
|
||||||
|
|
||||||
|
# Run against dev and stable channels.
|
||||||
|
dart:
|
||||||
|
- dev
|
||||||
|
- stable
|
||||||
|
|
||||||
|
# Define test tasks to run.
|
||||||
|
dart_task:
|
||||||
|
- test: --platform vm
|
||||||
|
|
||||||
|
# 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]
|
||||||
|
|
||||||
|
os:
|
||||||
|
- linux
|
||||||
|
- osx
|
||||||
|
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/.pub-cache
|
Loading…
Reference in New Issue