blob: 29a5c1f4dc53a6d3ec5616b8d59c6fad3275ccc5 [file] [log] [blame]
language: dart
install:
- gem install coveralls-lcov
dart:
# Keep this value aligned with min SDK value in pubspec.yaml and FROM line of Dockerfile
- "2.7.2"
# TODO(devoncarew): commented out due to
# https://github.com/dart-lang/dart-pad/issues/1002
#- dev
# Speed up builds by using containerization. Disable this if you need to use
# sudo in your scripts.
sudo: false
branches:
only: [master]
before_script:
- git submodule init
- git submodule update
- export PATH=$PATH:$PWD/flutter/bin
- flutter doctor
- flutter config --enable-web
- flutter precache --web --no-android --no-ios --no-linux --no-windows --no-macos --no-fuchsia
- wget https://github.com/protocolbuffers/protobuf/releases/download/v3.11.4/protoc-3.11.4-linux-x86_64.zip
- unzip protoc-3.11.4-linux-x86_64.zip -d protoc
- export PATH=$PATH:$PWD/protoc/bin
- pub global activate protoc_plugin
- export PATH=$PATH:$HOME/.pub-cache/bin
script: ./tool/travis.sh