| language: dart |
| |
| # By default, builds are run in containers. |
| # https://docs.travis-ci.com/user/getting-started/#Selecting-infrastructure-(optional) |
| # Set `sudo: true` to disable containers if you need to use sudo in your scripts. |
| # sudo: true |
| |
| dart: |
| - dev |
| # See https://docs.travis-ci.com/user/languages/dart/ for details. |
| dart_task: |
| - dartfmt |
| - dartanalyzer |
| # TODO: reinstate tests once https://github.com/dart-lang/http_retry/issues/6 is fixed |
| # - test: --platform vm |
| # xvfb: false |
| # # Uncomment this line to run tests on the browser. |
| # - test: --platform firefox |
| |
| # Only building master means that we don't run two builds for each pull request. |
| branches: |
| only: [master] |
| |
| cache: |
| directories: |
| - $HOME/.pub-cache |