diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..980160ff89 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,26 @@ +language: dart +sudo: false + +dart: + - dev + - stable + +dart_task: + - test: --platform vm,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