- Go to https://travis-ci.org/ and 'Sign in with Github'
- Visit https://travis-ci.org/profile to trigger a Github sync (this may take a minute)
- Find your project and flip the switch. This would be "/angular.dart"
- Click the little wrench next to the switch, it will take you to github.
- Scroll down to Travis and click it
- Click the 'Test Hook' button.
- Every time you push to your repo, Travis will grab the changes from your repo and run a build on it.
- The build runs on Chrome, Firefox and Dartium browsers.
All scripts can be found in .travis.yml
and scripts/travis
folder.
- Install the browsers (Chrome, Firefox and Dartium)
- Install Dart stable or dev channel (see
CHANNEL
in the.travis.yml
matrix) - Run analyzer on the code
- Run karma
- Generate documentation
- Merge "presubmit" branches into master when the build is successful
- Collect/publish the test runs/times to some dashboard/graphing service