|
1 |
| -= Travis-CI Setup Instructions |
| 1 | +# Travis-CI Setup Instructions |
2 | 2 |
|
3 |
| -== Set Up Instructions |
| 3 | +## Set Up Instructions |
4 | 4 |
|
5 | 5 | 1. Go to https://travis-ci.org/ and 'Sign in with Github'
|
6 | 6 | 2. Visit https://travis-ci.org/profile to trigger a Github sync (this may take a minute)
|
|
9 | 9 | 5. Scroll down to Travis and click it
|
10 | 10 | 6. Click the 'Test Hook' button.
|
11 | 11 |
|
12 |
| -== What does it do? |
| 12 | +## What does it do? |
13 | 13 |
|
14 | 14 | - Every time you push to your repo, Travis will grab the changes from your repo and run a
|
15 | 15 | build on it.
|
16 |
| -- The build runs on Chrome and Dartium stable browsers. |
| 16 | +- The build runs on Chrome, Firefox and Dartium browsers. |
17 | 17 |
|
| 18 | +## How does it work. |
18 | 19 |
|
19 |
| -== How does it work. |
| 20 | +All scripts can be found in `.travis.yml` and `scripts/travis` folder. |
20 | 21 |
|
21 |
| -All scripts can be found it `.travis.yml` and `./scripts/travis` folder. |
22 |
| - |
23 |
| -1. Install latest google-chrome |
24 |
| -2. Install Dart stable or dev channel (currently only running on stable, see `.travis.yml` `matrix`) |
| 22 | +1. Install the browsers (Chrome, Firefox and Dartium) |
| 23 | +2. Install Dart stable or dev channel (see `CHANNEL` in the `.travis.yml` matrix) |
25 | 24 | 3. Run analyzer on the code
|
26 |
| -4. Run karma on both Dartium (dart) and Chrome (dart2js) |
| 25 | +4. Run karma |
27 | 26 | 5. Generate documentation
|
| 27 | +6. Merge "presubmit" branches into master when the build is successful |
28 | 28 |
|
| 29 | +## What needs to be done |
29 | 30 |
|
30 |
| -== What needs to be done |
31 |
| - |
32 |
| -- Publish generated documentation to a URL |
33 |
| -- If the branch is `presubmit`, then `github push upstream presubmit:master` |
34 | 31 | - Collect/publish the test runs/times to some dashboard/graphing service
|
0 commit comments