.travis.yml 648 B

1234567891011121314151617181920212223
  1. os:
  2. - linux
  3. sudo: false
  4. addons:
  5. apt:
  6. # Flutter depends on /usr/lib/x86_64-linux-gnu/libstdc++.so.6 version GLIBCXX_3.4.18
  7. sources:
  8. - ubuntu-toolchain-r-test # if we don't specify this, the libstdc++6 we get is the wrong version
  9. packages:
  10. - libstdc++6
  11. - fonts-droid-fallback
  12. before_script:
  13. - git clone https://github.com/flutter/flutter.git -b master --single-branch
  14. - ./flutter/bin/flutter doctor
  15. - gem install coveralls-lcov
  16. script:
  17. - ./flutter/bin/flutter analyze
  18. - ./flutter/bin/flutter test --coverage
  19. after_success:
  20. - coveralls-lcov coverage/lcov.info
  21. cache:
  22. directories:
  23. - $HOME/.pub-cache