Travis helper scripts to allow running unit test on Chrome
This assumes you are familiar with Dart and Travis integration
Include chrome_travis.dart as a development dependencies in your pubspec.yaml file
dev_dependencies:
test: any
chrome_travis:
git:
url: https://github.com/tekartik/chrome_travis.dart
ref: dart2_3Create the following .travis.yml file
language: dart
sudo: required
dist: trusty
dart:
- stable
- dev
before_script:
- source $(dart pub run chrome_travis:env_rc)
script:
- dart pub run test -p vm -p chromeConfigure your project to run in https://travis-ci.org
This project use the solution itself