= Travis-CI Setup Instructions
== Set Up Instructions
- 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.
== What does it do?
- 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 and Dartium stable browsers.
== How does it work.
All scripts can be found it .travis.yml
and ./scripts/travis
folder.
- Install latest google-chrome
- Install Dart stable or dev channel (currently only running on stable, see
.travis.yml
matrix
) - Run analyzer on the code
- Run karma on both Dartium (dart) and Chrome (dart2js)
- Generate documentation
== What needs to be done
- Publish generated documentation to a URL
- If the branch is
presubmit
, thengithub push upstream presubmit:master
- Collect/publish the test runs/times to some dashboard/graphing service