blob: 6cb5dca0e684b35b6900f5d55d3952f8bbe80ebd [file] [log] [blame]
language: dart
sudo: true
before_script:
# Add an IPv6 config - see the corresponding Travis issue
# https://github.com/travis-ci/travis-ci/issues/8361
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
fi
dart:
- 2.5.0
- dev
dart_task:
- test
matrix:
include:
- dart: dev
dart_task: dartfmt
# Only building master means that we don't run two builds for each pull request.
branches:
only: [master]
cache:
directories:
- $HOME/.pub-cache