Skip to content

Travis helper scripts to allow running unit test on Chrome

License

Notifications You must be signed in to change notification settings

tekartik/chrome_travis.dart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chrome_travis.dart

Travis helper scripts to allow running unit test on Chrome

Setup

Note about versioning.

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_3

Create 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 chrome

Configure your project to run in https://travis-ci.org

Example

This project use the solution itself

About

Travis helper scripts to allow running unit test on Chrome

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published