File tree Expand file tree Collapse file tree 7 files changed +482
-50
lines changed Expand file tree Collapse file tree 7 files changed +482
-50
lines changed Original file line number Diff line number Diff line change 1
- sudo : false
1
+ # TODO(hansl): When we're ready to test for Dart, readd every mention of Dart to this file.
2
+ # Base the Dart config on the main repo travis.yml file.
3
+
2
4
language : node_js
5
+ sudo : false
3
6
4
7
node_js :
5
8
- ' 4.2.3'
6
9
10
+ cache :
11
+ directories :
12
+ - node_modules
13
+
14
+ env :
15
+ global :
16
+ - LOGS_DIR=/tmp/angular-material-build/logs
17
+ - SAUCE_USERNAME=angular-ci
18
+ - SAUCE_ACCESS_KEY=9b988f434ff8-fbca-8aa4-4ae3-35442987
19
+ - BROWSER_STACK_USERNAME=angularteam1
20
+ - BROWSER_STACK_ACCESS_KEY=BWCd4SynLzdDcv8xtzsB
21
+ - ARCH=linux-x64
22
+ # Token for tsd to increase github rate limit
23
+ # See https://github.com/DefinitelyTyped/tsd#tsdrc
24
+ # This does not use http://docs.travis-ci.com/user/environment-variables/#Secure-Variables
25
+ # because those are not visible for pull requests, and those should also be reliable.
26
+ # This SSO token belongs to github account angular-github-ratelimit-token which has no access
27
+ # (password is in Valentine)
28
+ - TSDRC='{"token":"ef474500309daea53d5991b3079159a29520a40b"}'
29
+ # GITHUB_TOKEN_ANGULAR
30
+ - secure : " fq/U7VDMWO8O8SnAQkdbkoSe2X92PVqg4d044HmRYVmcf6YbO48+xeGJ8yOk0pCBwl3ISO4Q2ot0x546kxfiYBuHkZetlngZxZCtQiFT9kyId8ZKcYdXaIW9OVdw3Gh3tQyUwDucfkVhqcs52D6NZjyE2aWZ4/d1V4kWRO/LMgo="
31
+ matrix :
32
+ # Order: a slower build first, so that we don't occupy an idle travis worker waiting for others to complete.
33
+ - MODE=saucelabs_required
34
+ - MODE=browserstack_required
35
+ - MODE=saucelabs_optional
36
+ - MODE=browserstack_optional
37
+
38
+
7
39
addons :
8
40
firefox : " latest"
9
41
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 8
8
"url" : " https://github.com/angular/material2.git"
9
9
},
10
10
"scripts" : {
11
- "demo-app" : " cd src && ng serve"
11
+ "demo-app" : " cd src && ng serve" ,
12
+ "test" : " karma start test/karma.conf.js"
12
13
},
13
14
"version" : " 2.0.0-alpha.0" ,
14
15
"license" : " Apache-2.0" ,
33
34
"ember-cli-inject-live-reload" : " ^1.3.0" ,
34
35
"jasmine-core" : " ^2.3.4" ,
35
36
"karma" : " ^0.13.15" ,
37
+ "karma-browserstack-launcher" : " ^0.1.7" ,
36
38
"karma-chrome-launcher" : " ^0.2.1" ,
37
39
"karma-firefox-launcher" : " ^0.1.7" ,
38
- "karma-jasmine" : " ^0.3.6"
40
+ "karma-jasmine" : " ^0.3.6" ,
41
+ "karma-sauce-launcher" : " ^0.2.14"
39
42
}
40
43
}
Original file line number Diff line number Diff line change @@ -8,4 +8,4 @@ SCRIPT_DIR=$(dirname $0)
8
8
cd ${SCRIPT_DIR} /../..
9
9
10
10
ng build
11
- karma start --single-run --no-auto-watch --reporters=' dots'
11
+ karma start test/karma.conf.js --single-run --no-auto-watch --reporters=' dots'
You can’t perform that action at this time.
0 commit comments