File tree 4 files changed +12
-3
lines changed
4 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 36
36
matrix :
37
37
# Order: a slower build first, so that we don't occupy an idle travis worker waiting for others to complete.
38
38
- MODE=lint
39
+ - MODE=circular_deps
39
40
- MODE=e2e
40
41
- MODE=saucelabs_required
41
42
- MODE=browserstack_required
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
- "ci:forbidden-identifiers" : " node ./scripts/ci/forbidden-identifiers.js" ,
11
+ "ci:forbidden-identifiers" : " node ./scripts/ci/forbidden-identifiers.js" ,
12
12
"build" : " ng build" ,
13
13
"demo-app" : " ng serve" ,
14
14
"test" : " karma start test/karma.conf.js" ,
15
15
"tslint" : " tslint -c tslint.json 'src/**/*.ts'" ,
16
16
"stylelint" : " stylelint 'src/**/*.scss' --config stylelint-config.json --syntax scss" ,
17
+ "check-circular-deps" : " madge --circular ./dist" ,
17
18
"typings" : " typings install --ambient" ,
18
19
"postinstall" : " npm run typings" ,
19
20
"e2e" : " protractor" ,
60
61
"karma-firefox-launcher" : " ^0.1.7" ,
61
62
"karma-jasmine" : " ^0.3.8" ,
62
63
"karma-sauce-launcher" : " ^0.2.14" ,
64
+ "madge" : " ^0.5.3" ,
63
65
"node-sass" : " ^3.4.2" ,
64
66
"protractor" : " ^3.3.0" ,
65
67
"protractor-accessibility-plugin" : " 0.1.1" ,
66
68
"sass" : " ^0.5.0" ,
67
69
"strip-ansi" : " ^3.0.0" ,
68
- "symlink-or-copy" : " ^1.0.1" ,
69
70
"stylelint" : " ^6.5.1" ,
71
+ "symlink-or-copy" : " ^1.0.1" ,
70
72
"ts-node" : " ^0.7.3" ,
71
73
"tslint" : " ^3.5.0" ,
72
74
"typescript" : " ^1.9.0-dev" ,
Original file line number Diff line number Diff line change @@ -18,7 +18,9 @@ wait_for_tunnel
18
18
if is_lint; then
19
19
npm run tslint
20
20
npm run ci:forbidden-identifiers
21
- npm run stylelint
21
+ npm run stylelint
22
+ elif is_circular_deps_check; then
23
+ npm run check-circular-deps
22
24
elif is_e2e; then
23
25
MD_APP=e2e ng serve &
24
26
sleep 20
Original file line number Diff line number Diff line change @@ -8,3 +8,7 @@ is_e2e() {
8
8
is_lint () {
9
9
[[ " $MODE " = lint ]]
10
10
}
11
+
12
+ is_circular_deps_check () {
13
+ [[ " $MODE " = circular_deps ]]
14
+ }
You can’t perform that action at this time.
0 commit comments