| os: |
| - linux |
| sudo: false |
| addons: |
| apt: |
| # Flutter depends on /usr/lib/x86_64-linux-gnu/libstdc++.so.6 version GLIBCXX_3.4.18 |
| sources: |
| - ubuntu-toolchain-r-test # if we don't specify this, the libstdc++6 we get is the wrong version |
| packages: |
| - libstdc++6 |
| - fonts-droid |
| before_script: |
| - git clone https://github.com/flutter/flutter.git -b dev --single-branch |
| - ./flutter/bin/flutter doctor |
| - gem install coveralls-lcov |
| script: |
| - ./flutter/bin/flutter analyze |
| - ./flutter/bin/flutter test --coverage |
| after_success: |
| - coveralls-lcov coverage/lcov.info |
| cache: |
| directories: |
| - $HOME/.pub-cache |