Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Presubmit pkozlowski opensource pr 5182 #6355

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
869 commits
Select commit Hold shift + click to select a range
91f71d2
refactor(ChangeDetection): fix a typo
vicb Oct 12, 2015
711dbf4
fix(compiler): do not match directives to variable names
yjbanov Oct 20, 2015
a7c95ad
chore: use interface types in ng_zone/JS
yjbanov Oct 13, 2015
491e1fd
feat: move NgZone to Stream/Observable-based callback API
yjbanov Oct 19, 2015
77604b8
chore: add test showing CSS calc() failure
yjbanov Oct 15, 2015
4639f44
feat(Parser): associate pipes right to left
vicb Oct 14, 2015
1caccc4
refactor(dart/transform): Simplify logging class
Oct 21, 2015
27ead8c
feat(dart/transform): Do not declare outputs
Oct 21, 2015
785abe5
chore(http): remove double "var http" in http spec
albertosantini Oct 22, 2015
84d1f93
fix(WebWorker): Serialize scroll events
jteplitz Oct 20, 2015
de6774c
docs(typo): fix invalid TypeScript synatx in example
cgav Oct 23, 2015
56a9b02
fix(default_value_accessor): support custom input elements that fire …
tbosch Oct 23, 2015
3118d5c
fix(compiler): support events on a template element that are consumed…
tbosch Oct 23, 2015
485c85b
fix(core): Fix typo
jtheoof Oct 17, 2015
d29a9a9
fix(forms): handle control change in NgFormControl
m18 Sep 28, 2015
608cdc4
cleanup(forms): clean up NgFormControl
vsavkin Oct 26, 2015
04b4035
refactor(AppViewListener): prefix listener with on for consistency
vicb Aug 31, 2015
c9fba3f
feat(validators): Add a pending state to AbstractControl
TedSander Oct 16, 2015
28d88c5
feat(validators): Allow errors at both the group/array level or their…
TedSander Oct 16, 2015
28db864
cleanup(forms): add missing tests
vsavkin Oct 26, 2015
2957b0b
fix(ng_class): support sets correctly
tbosch Oct 26, 2015
b2dc5c2
fix(compiler): create literal property bindings for empty *… directives.
tbosch Oct 26, 2015
8dd3082
feat(core): PlatformRef and ApplicationRef support registration of di…
alxhub Oct 26, 2015
2674eac
feat(router): Support unsubscription from Location by returning the s…
alxhub Oct 26, 2015
2e059dc
feat(router): Make RootRouter disposable to allow cleanup of Location…
alxhub Oct 26, 2015
c5f490b
chore(forms): deprecate the old Query API
vsavkin Oct 26, 2015
60bedb4
fix(debug_element): don’t descend into merged embedded views on `comp…
tbosch Oct 26, 2015
d8b3601
fix(style_url_resolver): include `asset:` urls into precompiled style…
tbosch Oct 26, 2015
b90d899
doc(DynamicComponentLoader): update API doc
vicb Oct 23, 2015
dd2598c
refactor: use ListWrapper.find()
vicb Oct 23, 2015
e1e52c0
refactor(Compiler): misc minor updates
vicb Oct 23, 2015
abdd524
refactor(RuntimeMetadata): Annotation -> Metadata
vicb Oct 23, 2015
3416984
refactor(RuntimeMetadataResolver): simplify the code
vicb Oct 23, 2015
391a6fb
docs(developer.md): add PUB_CACHE variable to setup instructions
Puigcerber Oct 25, 2015
9f8043e
chore(build): update node version in .nvmrc file
Puigcerber Oct 25, 2015
7af27f9
chore(test): bump jasmine timeout to 500ms
btford Oct 26, 2015
07cdc2f
feat(router): add support for route links with no leading slash
btford Oct 26, 2015
280cd33
fix(router): fix error message text
btford Oct 26, 2015
2a3e11d
fix(router): respect LocationStrategy when constructing hrefs in links
btford Oct 26, 2015
9427404
chore(saucelabs): update to Safari 9
marclaval Oct 26, 2015
ef70508
build(gulp): don't exit prematurely during cleanup
IgorMinar Oct 27, 2015
ea6b316
build(gulp): rename angularBuilder.mock to angularBuilder.uninitializ…
IgorMinar Oct 27, 2015
bfe3efa
chore(compiler): dead code clean-up.
rkirov Oct 26, 2015
14f8bcc
chore(package): bump reflect-metadata version
douglasduteil Oct 24, 2015
f59adf3
chore(karma): exclude e2e examples from unit tests
btford Oct 27, 2015
4fe1792
docs(router): move examples into own file and add tests
btford Oct 5, 2015
fbe748f
build(node): update node from 4.1.1 to 4.2.1
IgorMinar Oct 27, 2015
b87da8f
refactor(router): RouteData as a type
cexbrayat Sep 30, 2015
a31b217
chore(gulpfile): fix link to clang formatting
Foxandxss Sep 29, 2015
cd219b9
docs: edit DART_TOOLS.md
kwalrath Sep 30, 2015
689ded5
doc(web_workers): fixes some typos and adjusts formatting
ericmdantas Sep 30, 2015
ed4826b
feat(forms): Implement a way to manually set errors on a control
vsavkin Oct 27, 2015
27dbd2d
fix(compiler): load style urls in runtime mode correctly
tbosch Oct 27, 2015
ac52bfd
fix(render): create svg elements with the right namespace
tbosch Oct 27, 2015
dc6a066
refactor(application): rename Binding into Provider
PatrickJS Oct 20, 2015
540b8c2
fix(renderer): support `xlink:href` attribute in svg
tbosch Oct 27, 2015
7478105
docs(PipeTransform): added pure parameter
ocombe Oct 11, 2015
61e514b
docs(Http): fix parameter name
vicb Oct 27, 2015
fdbb505
docs(di): fix SelfMetadata example
mgechev Oct 7, 2015
42ea31b
docs(QueryMetadata): fix wrong selectors and improve syntax highlighting
vicb Oct 27, 2015
f98faf0
refactor(forms): make Validators.group and Validators.array private
vsavkin Oct 27, 2015
7580628
feat(forms): support adding validators to ControlGroup via template
vsavkin Oct 27, 2015
1316c3e
fix(ChangeDetector): support for NaN
vicb Oct 21, 2015
5fc28e6
docs(provider): fix formatting
ericmdantas Oct 14, 2015
137549d
chore(changelog): add link to the issue that gives more info about th…
cironunes Oct 15, 2015
a881f09
chore(typings): don't expose es6-shim typing.
alexeagle Oct 27, 2015
edfa35b
fix(facades): reduce node count by 1 in assertionsEnabled
yjbanov Sep 21, 2015
4a1b873
feat: upgrade clang-format to 1.0.32.
mprobst Oct 20, 2015
c02f2bd
chore: adjust formatting to new clang-format.
mprobst Oct 28, 2015
6514b8c
fix(di): allow dependencies as flat array
mgechev Oct 28, 2015
f9963d3
refactor(di): minor cleanup
vsavkin Oct 28, 2015
150d368
refactor(dart/transform): Remove unused test files
Oct 8, 2015
b318945
refactor(dart/transform): Create common dumbEval function
Oct 14, 2015
d68955a
feat(dart/transform): Add getters, setters, methods to NgDepsModel
Oct 8, 2015
a18358d
refactor(dart/transform): Fold bind_generator into other phases
Oct 13, 2015
c91fc49
test(dart/transform): Update tests for new codegen
Oct 14, 2015
563a763
refactor(dart/transform): Delete unused bind_generator
Oct 13, 2015
e9c4c61
refactor(dart/transform): Have DeferredRewriter run in parallel
Oct 13, 2015
ca5e31b
feat(dart/transform): Avoid overwriting assets
Oct 14, 2015
2604402
feat(dart/transform): Parse `directives` dependencies from the Dart ast
Oct 15, 2015
d69bd02
refactor(dart/transform): Fix potential import collision
Oct 19, 2015
798be27
refactor(dart/transform): Rename `dumbEval` to `naiveEval`
Oct 19, 2015
bdd031a
feat(dart/transform): Match runtime semantics for template values
Oct 20, 2015
3ed9796
docs(SlicePipe): fix ng-for example
Foxandxss Oct 28, 2015
25ddd87
feat(forms): Export NumberValueAccessor
Oct 28, 2015
c90e192
chore(tslint): disallow variable names that look like keywords.
alexeagle Oct 28, 2015
5c48236
fix(lang): avoid infinite loop when calling assert()
pkozlowski-opensource Oct 28, 2015
bc10dc3
fix(benchmarks): update react and polymer benchmarks and get tree upd…
tbosch Oct 13, 2015
e3c9397
docs(element_injector): fix comment for ElementInjectorDynamicStrategy
mgechev Sep 29, 2015
53fe0fa
Fix changelog before\after sample
valorkin Oct 3, 2015
44188b9
chore(typings): mark underscore-prefix members @internal
alexeagle Oct 28, 2015
098201d
fix(lint): enforce that module-private members have @internal.
alexeagle Oct 28, 2015
127d6b6
fix(benchpress): increase sampling frequency
hankduan Oct 28, 2015
9c63a47
docs(http): use http.request(FOO) instead of http(FOO)
ericmdantas Oct 8, 2015
547e011
feat(forms): add support for Validator
vsavkin Oct 28, 2015
534db7f
cleanup(forms): marks abstract classes as abstract
vsavkin Oct 28, 2015
e1337dc
cleanup(forms): minor cleanup
vsavkin Oct 29, 2015
fc016b5
fix(JsonPipe): marks json pipe as not pure Marked json pipe as not pu…
sduquej Oct 27, 2015
7ba426c
fix(Pipe): pure is an optional argument
vicb Oct 27, 2015
2f1f83a
fix(Pipes): mark date & slice as non-pure
vicb Oct 27, 2015
4058615
test(Pipes): assert Date, Json & Slice are non pure
vicb Oct 27, 2015
e7f9924
style: clang format the code
vicb Oct 27, 2015
7677dc9
refactor(Pipes): integrate review feedback
vicb Oct 27, 2015
e47a9d9
chore: bump version to 2.0.0-alpha.45
naomiblack Oct 29, 2015
e6a721d
chore(changelog): update change log to alpha-45
naomiblack Oct 29, 2015
7f806f7
refactor: remove useless imports
mgechev Sep 30, 2015
0abd218
docs(core): Document NgFor.
alxhub Oct 12, 2015
1de2d29
typo(directives): Fixed the mistake of leading number
trotyl Oct 11, 2015
8485ef9
fix(WebWorker): Don't send messages when the buffer is empty
jteplitz Sep 11, 2015
28be0a5
docs(application_common): fixes typo and improves docs for bootstrap
0x-r4bbit Sep 22, 2015
3532801
chore(build): Avoid publishing dart files to NPM repo
alfonso-presa Sep 2, 2015
97c60ed
docs(web_workers): Correct typo
machineloop Sep 21, 2015
edd4b93
refactor(router): use relative imports
pkozlowski-opensource Oct 27, 2015
ae7f76e
build(analytics): add support for tracking npm installs
IgorMinar Oct 27, 2015
df13e0a
build(analytics): add basic ci job tracking
IgorMinar Oct 27, 2015
b329a58
build(analytics): track TRAVIS_JOB_NUMBER as a custom dimension
IgorMinar Oct 29, 2015
6815ace
chore(vscode): add jsconfig.json and remove .settings dir
IgorMinar Oct 29, 2015
c4964e7
fix(test): "integration tests svg should support svg elements" fails …
marclaval Oct 29, 2015
e37799a
fix(test): Android browser does not support calc() a CSS unit value
marclaval Oct 29, 2015
eba7073
fix(WebWorker): Fix bug causing multi browser demo to crash
jteplitz Oct 20, 2015
6b40293
refactor(dart/transform): Run `ReflectionRemover` after codegen phases
Oct 23, 2015
cc37d0a
chore(router): use new provide API in examples
btford Oct 28, 2015
7d83959
refactor(router): rename "as" to "name" in RouteConfig
vamsivarikuti Oct 25, 2015
a87c5d9
fix(dart/transform): Gracefully handle empty .ng_meta.json files
Oct 29, 2015
c17c33c
docs(router): Updated example for hash location strategy
brandonroberts Oct 29, 2015
5f2eb3e
chore(dgeni): clean up legacy typings bundle creation
alexeagle Oct 28, 2015
993b3d6
refactor(compiler): don’t rely on external css parser
tbosch Oct 29, 2015
ef23fe6
docs(forms): Document the rest of the forms module.
alxhub Sep 29, 2015
72e65d6
refactor(core): Move LifeCycle functionality into ApplicationRef.
alxhub Oct 28, 2015
ca3986f
refactor(async): refactor EventEmitter
robwormald Oct 25, 2015
0378e55
chore(package): update RxJS version
robwormald Oct 28, 2015
389ed2d
refactor(async): fix ObservableWrapper.isObservable
robwormald Oct 29, 2015
c930a53
chore(build): add RxJS to typings spec
robwormald Oct 29, 2015
d1b54d6
fix(core): Add an error state for ChangeDetectors that is set when bi…
alxhub Oct 27, 2015
39626a9
fix(ng-content): wildcard ng-content has to go last.
tbosch Oct 29, 2015
bb2b961
feat(forms): add support for async validations
vsavkin Oct 30, 2015
9d58f46
fix(forms): update compose to handle null validators
vsavkin Oct 30, 2015
56e7364
fix(analyzer): fix dart analyzer errors
vsavkin Oct 30, 2015
fa44da1
refactor(linker): Expose ViewResolver to public api
StacyGay Oct 16, 2015
1dc8a0a
fix(build): EMFILE error on Windows when executing JS unit tests
marclaval Oct 16, 2015
ebd15a7
chore(http): assert that url is present when creating new Request
mgechev Oct 10, 2015
860e88c
docs(Http): add type annotations to clarify API
gjungb Oct 8, 2015
45b33c5
perf(dart/transform): Restrict visibility/mutability of codegen
Oct 29, 2015
78875d5
chore(typings): add router_spec to test.typings
alexeagle Oct 10, 2015
7d154e3
chore(gulp): rename serve/examples to serve/playground
btford Oct 30, 2015
cb2b690
chore(examples): explain the purpose of these examples
btford Oct 30, 2015
53bddec
fix(router): respond to hashchange events
btford Oct 30, 2015
d8775e0
fix(shadow_css): strip comments and fix logic for parsing rules.
tbosch Oct 30, 2015
23784a2
fix(router): properly serialize aux routes
btford Oct 31, 2015
0ebe283
feat(router): provide RouteConfig object for AuxRoute
btford Oct 31, 2015
54f7e62
chore(travis): upload dist folder anytime the js and dart builds succeed
alexeagle Oct 30, 2015
1b78342
chore(ngUpgrade): Move into Angular2
mhevery Oct 27, 2015
84fe0c9
build(browserstack): add npm dependencies
marclaval Oct 27, 2015
13447e3
build(browserstack): initial setup
marclaval Oct 27, 2015
d6e7a51
chore(build): npm install fails on Windows after analytics feat
marclaval Nov 1, 2015
53bd6e1
feat(facade): add ObservableWrapper.fromPromise
vsavkin Nov 2, 2015
cf449dd
feat(forms): implements a combinator for composing async validators
vsavkin Nov 2, 2015
31c12af
feat(forms): add support for adding async validators via template
vsavkin Nov 2, 2015
1c322f1
feat(forms): update FormBuilder to support async validations
vsavkin Nov 2, 2015
37c65b7
chore: fix incremental test.unit.dart
tbosch Nov 2, 2015
c412907
docs(metadata): provide deprecation messages
yjbanov Nov 2, 2015
8dc079e
docs: add @Input/@Output to deprecation messages
yjbanov Nov 2, 2015
c814dfb
fix: remove internal usages of deprecated overrideOnTurnDone
yjbanov Nov 2, 2015
bf07f9c
refactor(playground): update the order management example to use the …
vsavkin Nov 2, 2015
134c6f5
refactor(playground): update Zippy to use @Input and @Output
vsavkin Nov 2, 2015
6f1a89e
refactor(playground): update the order management example to use the …
vsavkin Nov 3, 2015
045919b
refactor(playground): update Zippy to use @Input and @Output
vsavkin Nov 3, 2015
16bc238
feat(core): make transformers handle @Input/@Output/@HostBinding/@Hos…
vsavkin Nov 3, 2015
9220b0b
chore(bundles): unify router bundles creation with other bundles
pkozlowski-opensource Nov 2, 2015
2f04788
chore(bundles): unify padding with dependencies
pkozlowski-opensource Nov 2, 2015
bff9dc2
chore(bundles): don't duplicate reflect-metadata in http bundle
pkozlowski-opensource Nov 2, 2015
2cc6927
chore(bundles): unify workflow for router bundles
pkozlowski-opensource Nov 2, 2015
0931195
chore(build): more clean up for legacy typings bundle creation
pkozlowski-opensource Nov 3, 2015
5948aba
feat(core): add support for ambient directives
vsavkin Nov 3, 2015
6240245
fix(playground): fix the inbox example
vsavkin Nov 3, 2015
c262bda
chore(build): don't create unused folders for npm distribution
pkozlowski-opensource Nov 3, 2015
a16214c
chore(test): failures in browsers which do no support Symbol.iterator
marclaval Nov 2, 2015
6864578
chore(test): rename RootTestComponent to ComponentFixture
juliemr Oct 31, 2015
d0c65c1
for fixup - keep RootTestComponent around, but deprecate
juliemr Nov 3, 2015
c9a3ba0
refactor(dart/transform): Remove generate_change_detectors
Nov 4, 2015
fd92dc0
build(browserstack): add all supported browsers
marclaval Nov 3, 2015
69e4b62
docs(onDestroy): fix broken backticks
petebacondarwin Nov 3, 2015
31687ef
fix(http): use Response for JSONP errors
robwormald Oct 30, 2015
a9b1270
fix(http): use Observable<Response> on Http methods
robwormald Oct 31, 2015
a69e7fe
fix(RouterLink): do not prevent default behavior if target set on anc…
jeffbcross Nov 2, 2015
f1989e7
fix(compiler): remove style when [style.foo]='exp' evaluates to null
pkozlowski-opensource Nov 4, 2015
f54ba3c
docs(query_list): update highlight language
mgechev Oct 30, 2015
c70e07f
build(browserstack): add a Gulp task to use Browser Stack locally
marclaval Nov 4, 2015
adc0e32
refactor(examples): update the Zippy example to rely on ambient direc…
vsavkin Nov 4, 2015
4909fed
feat(core): add support for ambient directives to dart transformers
vsavkin Nov 5, 2015
5d9b1e9
refactor(dart/transform): Separate log & zone code
Nov 5, 2015
c56efc0
refactor(ChangeDetector): use View/ShadowDom & Content/LightDom consi…
vicb Oct 15, 2015
b913514
refactor(ChangeDetector): misc minor updates
vicb Oct 15, 2015
7e92d2e
feat(ChangeDetector): Add support for short-circuiting
vicb Oct 16, 2015
b84855f
refactor: private methods should not be decorated with internal
vicb Oct 28, 2015
fee5dea
fix(forms): Export the NG_VALUE_ACCESSOR binding token.
alxhub Nov 2, 2015
f21e782
feat(forms): Use the DefaultValueAccessor for controls with an ng-def…
alxhub Nov 2, 2015
9d0b61b
feat(dart/transform): Simplify dependency imports
Nov 5, 2015
a8f45a6
SQUASH ME! Unit test updates.
Nov 5, 2015
ca33915
build(npm): remove unused npm dependencies
IgorMinar Oct 29, 2015
a98c27d
build(npm): update all gulp-* dependencies
IgorMinar Oct 30, 2015
0fbbce7
build(npm): freeze madge at 0.5.0 due to #5022
IgorMinar Nov 4, 2015
febcde9
build(npm): bump gulp-clang-format to ^1.0.23
IgorMinar Nov 5, 2015
bcfb073
build(npm): lock systemjs at 0.18.10 due to regressions in future ver…
IgorMinar Nov 5, 2015
b354b79
build(npm): cleanup + update npm dependencies + reshrinkwrap
IgorMinar Oct 30, 2015
f39bbff
build(ci): turn on debugging output for ci scripts
IgorMinar Nov 5, 2015
6edd964
chore(core): move compiler out of core
vsavkin Nov 5, 2015
695923d
refactor(core): move directives, pipes, and forms into common
vsavkin Nov 5, 2015
fc50829
feat(facade): add a way to detect if an object is a Promise
vsavkin Nov 2, 2015
2c201d3
feat(facade): add a way to convert observables into promises
vsavkin Nov 2, 2015
4439106
feat(facade): add support for async validators returning observables
vsavkin Nov 6, 2015
7343ef0
feat(forms): remove controlsErrors
vsavkin Nov 3, 2015
4bb9c46
fix(core): Provide setDevMode() to enable/disable development mode in…
alxhub Nov 3, 2015
0b11051
fix(material): Disable md-grid-list tests until #5132 is fixed.
alxhub Nov 4, 2015
aa70275
chore(tests): Enable dev mode in all Angular tests.
alxhub Nov 4, 2015
253e2b2
refactor(router): don't import public APIs from internal paths
pkozlowski-opensource Nov 5, 2015
c5693f0
chore(browserstack): use patched karma launcher
marclaval Nov 6, 2015
a0a627f
refactor(StringWrapper): remove useless methods
vicb Oct 31, 2015
c6ad269
chore(build): remove es5build.js
pkozlowski-opensource Nov 5, 2015
2d0c8f1
fix(NgFor): allow default templates with ng-for-template
pkozlowski-opensource Nov 6, 2015
63e853d
feat(change_detect): Guard `checkNoChanges` behind `assertionsEnabled`
Oct 28, 2015
6133f2c
fix(compiler): don’t lowercase attributes to support svg
tbosch Nov 6, 2015
3593d85
fix: remove deprecated zone API usage in testability
yjbanov Nov 4, 2015
79472b7
refactor(core): move facades out of core
vsavkin Nov 7, 2015
b0009f0
chore(ts2dart): update ts2dart to 0.7.14
vsavkin Nov 7, 2015
18b508d
docs(developer.md): add missing link for build commands
Foxandxss Nov 6, 2015
2645fb0
docs(form): Fix typos of indent
trotyl Nov 6, 2015
9d7fd3d
style(playground): use single quotes consistently
gionkunz Nov 8, 2015
a8d9dbf
feat(dart): Support forcing dev mode via enableDevMode in Dart.
alxhub Nov 9, 2015
fb8b815
fix(setup): set tsconfig so that it works in editors
tbosch Nov 6, 2015
e667ad3
refactor(compiler): make all commands const
tbosch Nov 2, 2015
0dcca1a
refactor(ListWrapper): drop filter, find, reduce & any
vicb Oct 9, 2015
2618bec
chore(): npm release script for router artifacts.
jelbourn Oct 30, 2015
e27665c
feat(core): renam AMBIENT_DIRECTIVES and AMBIENT_PIPES into PLATFORM_…
vsavkin Nov 9, 2015
ee07646
chore(test): fix public API test failure when no support of Symbol.for
marclaval Nov 3, 2015
5fecb3b
fix(build): reorder bundling step
robwormald Nov 10, 2015
e6bf33e
patch(renderer): make `glyph` not an svg element
tbosch Nov 10, 2015
1ff1792
fix(core): Unload components when individually disposed.
alxhub Nov 10, 2015
64bd963
fix(benchmarks): fix tracing categories to work with Dartium
harryterkelsen Nov 10, 2015
a3e6406
fix(core): Export dev mode API in Dart.
alxhub Nov 11, 2015
344776f
fix(renderer): apply host element encapsulation also if the parent co…
tbosch Nov 11, 2015
01ebff4
fix(core): reexport PLATFORM_DIRECTIVES and PLATFORM_PIPES in dart
IgorMinar Nov 11, 2015
4a43230
fix(core): various dart-specific fixes for core and facades
IgorMinar Nov 11, 2015
d29563f
chore(changelog): update change log to alpha-46
naomiblack Nov 11, 2015
029c053
docs(*): add initial cheatsheet tags
petebacondarwin Nov 4, 2015
533b722
docs(*): move cheatsheet stuff into its own files
petebacondarwin Nov 5, 2015
756727b
docs(*): more cheatsheet docs
petebacondarwin Nov 5, 2015
9b3b721
docs(*): more cheatsheet docs
petebacondarwin Nov 6, 2015
4e02e00
feat(NgClass) allow multiple classes per expression
ericmartinezr Nov 10, 2015
7fec3bf
Merge 9d7fd3d3aa93584a7662f935c86ece852b041731 into 4e02e003734d46f88…
gionkunz Nov 12, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .bowerrc
@@ -1,3 +1,3 @@
{
"directory": "bower_components"
}
"directory" : "bower_components"
}
6 changes: 6 additions & 0 deletions .gitignore
Expand Up @@ -29,8 +29,11 @@ tmp
pubspec.lock
.c9
.idea/
.settings/
*.swo
modules/.settings
.vscode
modules/.vscode

# Don't check in secret files
*secret.js
Expand All @@ -39,3 +42,6 @@ modules/.settings
npm-debug.log

/docs/bower_components/

# build-analytics
.build-analytics
2 changes: 1 addition & 1 deletion .nvmrc
@@ -1 +1 @@
0.12
4.2.1
12 changes: 0 additions & 12 deletions .settings/settings.json

This file was deleted.

63 changes: 35 additions & 28 deletions .travis.yml
@@ -1,7 +1,7 @@
language: node_js
sudo: false
node_js:
- '0.12'
- '4.2.1'

branches:
except:
Expand All @@ -19,7 +19,11 @@ env:
- LOGS_DIR=/tmp/angular-build/logs
- SAUCE_USERNAME=angular-ci
- SAUCE_ACCESS_KEY=9b988f434ff8-fbca-8aa4-4ae3-35442987
- BROWSER_STACK_USERNAME=angularteam1
- BROWSER_STACK_ACCESS_KEY=BWCd4SynLzdDcv8xtzsB
- ARCH=linux-x64
- DART_DEV_VERSION=latest
- DART_STABLE_VERSION=latest
# Token for tsd to increase github rate limit
# See https://github.com/DefinitelyTyped/tsd#tsdrc
# This does not use http://docs.travis-ci.com/user/environment-variables/#Secure-Variables
Expand All @@ -30,49 +34,64 @@ env:
# GITHUB_TOKEN_ANGULAR
- secure: "fq/U7VDMWO8O8SnAQkdbkoSe2X92PVqg4d044HmRYVmcf6YbO48+xeGJ8yOk0pCBwl3ISO4Q2ot0x546kxfiYBuHkZetlngZxZCtQiFT9kyId8ZKcYdXaIW9OVdw3Gh3tQyUwDucfkVhqcs52D6NZjyE2aWZ4/d1V4kWRO/LMgo="
matrix:
# Order: slowest build on top, so that we don't hog VMs while waiting for others to complete.
- MODE=dart DART_CHANNEL=stable
- MODE=dart DART_CHANNEL=dev
- MODE=saucelabs DART_CHANNEL=dev
- MODE=dart_experimental DART_CHANNEL=dev
- MODE=js DART_CHANNEL=dev
- MODE=lint DART_CHANNEL=dev
# Order: a slower build first, so that we don't occupy an idle travis worker waiting for others to complete.
- MODE=dart DART_CHANNEL=stable DART_VERSION=$DART_STABLE_VERSION
- MODE=dart DART_CHANNEL=dev DART_VERSION=$DART_DEV_VERSION
- MODE=saucelabs DART_CHANNEL=dev DART_VERSION=$DART_DEV_VERSION
- MODE=browserstack DART_CHANNEL=dev DART_VERSION=$DART_DEV_VERSION
- MODE=dart_experimental DART_CHANNEL=dev DART_VERSION=$DART_DEV_VERSION
- MODE=js DART_CHANNEL=dev DART_VERSION=$DART_DEV_VERSION
- MODE=router DART_CHANNEL=dev DART_VERSION=$DART_DEV_VERSION
- MODE=build_only DART_CHANNEL=stable DART_VERSION=$DART_STABLE_VERSION
- MODE=lint DART_CHANNEL=dev DART_VERSION=$DART_DEV_VERSION

matrix:
allow_failures:
- env: "MODE=saucelabs DART_CHANNEL=dev"
- env: "MODE=saucelabs DART_CHANNEL=dev DART_VERSION=$DART_DEV_VERSION"
- env: "MODE=browserstack DART_CHANNEL=dev DART_VERSION=$DART_DEV_VERSION"
- env: "MODE=dart_experimental DART_CHANNEL=dev DART_VERSION=$DART_DEV_VERSION"

addons:
firefox: "38.0"

before_install:
- node tools/analytics/build-analytics start ci job
- node tools/analytics/build-analytics start ci before_install
- echo ${TSDRC} > .tsdrc
- export DISPLAY=:99.0
- export GIT_SHA=$(git rev-parse HEAD)
- ./scripts/ci/init_android.sh
- ./scripts/ci/install_dart.sh ${DART_CHANNEL} ${ARCH}
- ./scripts/ci/install_dart.sh ${DART_CHANNEL} ${DART_VERSION} ${ARCH}
- sh -e /etc/init.d/xvfb start
- if [[ -e SKIP_TRAVIS_TESTS ]]; then { cat SKIP_TRAVIS_TESTS ; exit 0; } fi
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "master" ] && SAUCE_USERNAME="angular2-ci" && SAUCE_ACCESS_KEY="693ebc16208a-0b5b-1614-8d66-a2662f4e" || true'
- node tools/analytics/build-analytics success ci before_install

install:
# Update npm
- npm install -g npm@2.9.1
- npm --version
- node tools/analytics/build-analytics start ci install
# Check the size of caches
- du -sh ./node_modules || true
# Install npm dependecies
- npm install
- node tools/analytics/build-analytics success ci install

before_script:
- node tools/analytics/build-analytics start ci before_script
- mkdir -p $LOGS_DIR
- ./scripts/ci/presubmit-queue-setup.sh
- node tools/analytics/build-analytics success ci before_script

script:
- node tools/analytics/build-analytics start ci script
- ./scripts/ci/build_and_test.sh ${MODE}
- node tools/analytics/build-analytics success ci script

after_script:
- node tools/analytics/build-analytics start ci after_script
- ./scripts/ci/print-logs.sh
- ./scripts/ci/after-script.sh
- node tools/analytics/build-analytics success ci after_script
- if [[ $TRAVIS_TEST_RESULT -eq 0 ]]; then node tools/analytics/build-analytics success ci job; else node tools/analytics/build-analytics error ci job; fi

notifications:
webhooks:
Expand All @@ -98,24 +117,12 @@ deploy:
bucket: angular2-snapshots
# don't delete generated files
skip_cleanup: true
# serve to public at https://storage.googleapis.com/angular2-snapshots/SHA/dart_stable/dist.tgz
# serve to public at https://storage.googleapis.com/angular2-snapshots/SHA/dist.tgz
acl: public-read
# upload the .tgz archive created in scripts/ci/build_and_test.sh
local-dir: deploy
# create a "subdirectory" for each commit
upload-dir: $TRAVIS_COMMIT/dart_stable
upload-dir: $TRAVIS_COMMIT
on:
repo: angular/angular
condition: "$MODE = dart && $DART_CHANNEL = stable"
- provider: gcs
access_key_id: GOOGIOQTDBEOPBUAWFZQ
secret_access_key:
secure: "MEDggllZ5fw4wI9CEUi8WR6jKsKXqdRF/DLxSNC2JpzM5RlVeBm0uqjntYT1Cf1dASvQ2/+vZCUikL/3A48NcoEYRHXGmxu8D6t/SvleQD8Xv434xFOdsa2QqP/HiCtqCLOI5jJz1JVoB5nNyKKZ33ogTUL1LV1TfcrAioyizW8="
bucket: angular2-snapshots
skip_cleanup: true
acl: public-read
local-dir: deploy
upload-dir: $TRAVIS_COMMIT/js
on:
repo: angular/angular
condition: "$MODE = js"
condition: "$MODE = build_only"