Commit Graph

108 Commits

Author SHA1 Message Date
Paul Gschwendtner 154f54ec14 build: run chrome headless in travis (#5126) 2017-06-14 14:26:52 -07:00
Paul Gschwendtner 7af93bc5e3 build: switch to new dashboard firebase instance (#4954)
* Switches to a new Firebase instance for the Dashboard.
2017-06-05 11:13:05 -07:00
Paul Gschwendtner 52b6692472 build: move inline resources script to tools (#4894)
* build: move inline resources script to tools

* Moves the inline resources script to the `tools/gulp/packaging` folder. This is necessary when exposing the build tools (e.g for flex-layout)
* This also makes the packaging more clean because no external script is referenced (also switched to TypeScript and improved code)

* Address comments

* Update comment
2017-05-31 16:20:00 -07:00
Paul Gschwendtner 964033ce8d build: add dashboard firebase functions (#4806)
* build: add dashboard firebase functions

* Adds a new folder for the dashboard project that for now only contains firebase functions.
* The firebase functions will be used to securely make API calls to the Github API (e.g payload status)
* Functions will be automatically deployed as same as screenshot functions.

* Address feedback
2017-05-31 16:18:34 -07:00
Paul Gschwendtner a681438eef build: suppress logging of sauce-connect (#4856)
* Suppresses normal log messages from Saucelabs Conect. Error messages will still show up (In a follow-up PR the normal stdout will be printed together with the stdout on CI failures)
* No longer suppresses the whole Browserstack Tunnel execution. Stderr output will be printed if present. (In a follow-up stdout will be printed as well on CI failures)
* Switches to best-practice variable referencing in Bash
2017-05-30 09:27:06 -07:00
Paul Gschwendtner fb5520cebf build: move server rendering to dist (#4822)
* build: move server rendering to dist

* Verifying that Material works with `platform-server` now happens in the `dist/` folder (instead of the src/ folder)
* Adds a gulp task to build the universal application. In the future serving the app will be also part of this

* Address comments
2017-05-30 09:22:18 -07:00
Paul Gschwendtner 5c6a6856a1 build: move release packages to constants (#4818)
* build: move release packages to constants

* Moves the list of packages that should be released to the constants file.
* Sets the executable bit flag on the `deploy-screenshot-functions.sh` script

* Rename constants to build config
2017-05-26 12:36:10 -06:00
Paul Gschwendtner 1fce545757 build: missing cdk release output (#4811)
For the publish artifacts script the CDK release output didn't build. The CDK release output is necessary since it will be also published to cdk-builds.
2017-05-25 17:51:36 -06:00
Jeremy Elbourn 97d69fb3f8 build: add ci task for server-side prerender (#4808)
This adds a new task for Travis CI to prerender an app using
@angular/material. This change starts off by only adding buttons to the
application; more components will be added in a subsequent PR so that
this one stays focused on the set-up.
2017-05-25 17:51:11 -06:00
Paul Gschwendtner 426a644fb9 build: silence build and test script (#4770)
Currently the CI traces everything that runs inside of the bash script.

This might have been useful when creating the script but now it really pollutes the CI output which should be clean and structured.

Disabling tracing for the build and test script because the errors will still show up and the CI will look more clean.
2017-05-25 14:37:24 -06:00
Paul Gschwendtner 58c8404d73 build: use travis build stages (#4766) 2017-05-25 14:37:00 -06:00
Zhoucheng Li aee42aebb7 build(ci): skip tests on CI when only markdown files have changed (#4452)
Skip e2e and unit tests for Push/PR build
2017-05-23 14:54:55 -06:00
Paul Gschwendtner ecea23c684 build: deploy screenshot functions (#4698)
* build: deploy screenshot functions

* Deploys the screenshot functions for push builds
* Runs deploying & publishing in parallel

* Fix comment about parallel
2017-05-22 15:58:32 -06:00
Paul Gschwendtner e2f67f5b06 build: fix rxjs building error for closure (#4709)
When testing against closure, RxJS will be re-compiled to target ES2015 modules.

The RxJS tsconfig file takes all `@types` that are installed and due to a recent update of the gulp types, building RxJS fails now.
2017-05-22 09:40:40 -07:00
Paul Gschwendtner 401cd96307 build: publish to cdk-builds (#4527)
* build: publish to cdk-builds

* Publish the CDK release output to the cdk-builds repository.

* Address comments
2017-05-15 11:54:09 -07:00
Paul Gschwendtner 3953d6eb37 build: include commit sha in build artifacts (#4505)
Fixes #4502
2017-05-12 14:29:09 -07:00
Paul Gschwendtner 1caa63e85d build: properly publish examples package (#4408) 2017-05-10 17:59:25 -07:00
Paul Gschwendtner 2b8f753028 build: use shared logic to build packages (#4202)
* build: use shared logic to build packages

* No longer creates the whole set of gulp tasks just to build a single package.
* Makes the package building & releasing more consistent. No extra `build:release` just for the `lib` package.

References #4108

* Address feedback
2017-04-25 09:50:47 -07:00
Paul Gschwendtner fe7570a1da build: test cdk in aot and closure (#4142) 2017-04-18 15:57:44 -07:00
Paul Gschwendtner 11b97aa36f build: update saucelabs connector (#4143)
* Updates the Saucelabs connector to a more recent version. Outdated
Saucelabs connector versions tend to be more flaky.
2017-04-18 11:32:17 -07:00
Mac dbe2c33afc chore: fix typo in closure compiler script (#4040) 2017-04-14 13:05:25 -07:00
Paul Gschwendtner 85391ca6c9 chore: remove unused bash scripts (#4080)
* Removes two unused bash scripts (`copy-docs.sh`, `enact-release.sh`).
* `enact-release.sh` is now part of the release gulp task.
* `copy-docs.sh` is now part of the `docs` gulp task.
2017-04-13 09:18:58 -07:00
Paul Gschwendtner 205690f359 build: publish material-examples package to docs content (#4064) 2017-04-12 17:40:31 -07:00
Paul Gschwendtner abd2ac6489 build: create material-examples package (#4046) 2017-04-12 16:37:08 -07:00
Jeremy Elbourn e0124bba38 chore: publish examples assets for plunker with docs content (#3987) 2017-04-10 09:52:19 -06:00
Jeremy Elbourn e7a4a03d68 fix: use correct access tokens for artifact publishing (#3860) 2017-04-01 02:51:22 +08:00
Paul Gschwendtner ab77fa95da build: fix closure tsconfig path (#3835)
* Due to the TSConfig file renaming in #3791 and the fact that they were merged at the same time, the path in the closure-compiler script is now invalid.
2017-03-30 05:32:24 +08:00
Paul Gschwendtner 51cfb5f75f build: run closure-compiler (#3789)
* build: run closure-compiler

* Adds a script that runs the closure-compiler against the devapp / demo-app.
* The script will run on the CI as a new mode. Ensuring that all our components are closure-compatible.

Fixes #1206.

* Address feedback
2017-03-30 02:13:19 +08:00
tinayuangao 23d18a80b3 test(screenshot): enable screenshot tests w/ Firebase Functions and JWT (#3628)
Set up firebase functions to copy valid data to firebase storage/database
Use JasonWebToken to validate data written to firebase
Github Status change will be done in another PR
Result at: https://material2-screenshots.firebaseapp.com/3628
2017-03-24 17:40:25 -07:00
Paul Gschwendtner de21d9e89f build: fix build artifacts (#3771)
* The distribution folder structure has changed, and the path `dist/@angular/material` is no longer valid.
2017-03-24 14:27:24 -07:00
Paul Gschwendtner 03e88ffc4a build: update saucelabs tunnel binary (#3658)
* Updates the Saucelabs Tunnel connector to the latest version (4.4.5)
2017-03-20 09:51:32 -07:00
Paul Gschwendtner 05c865da15 build: include license in docs-content (#3557)
* Now includes the `LICENSE` file in the `material2-docs-content` repository. Similar as for `material2-builds`.
2017-03-14 13:11:12 -07:00
Paul Gschwendtner 06fd08d822 build: replace forbidden-identifiers with tslint (#3579)
* Replaces the big `forbidden-identifiers` script with TSLint rules.

Closes #2175
2017-03-13 14:26:13 -07:00
Paul Gschwendtner 4d4a63e641 fix: coverage issue with saucelabs (#3540)
* Saucelabs seems to have issues with Edge and the `karma-coverage` plugin.

* Running on Browserstack seems to be work without any flakiness and also makes the build faster (runs less browsers than on saucelabs)
2017-03-10 10:41:49 -08:00
Jeremy Elbourn fc31717fcf chore: publish docs content under angular org (#3508) 2017-03-09 14:00:31 -08:00
Paul Gschwendtner bbe9519535 build: upload coverage to firebase (#3435)
* Introduces a gulp task that will run on Travis Push builds and will upload coverage results to a Firebase database.

Closes #128.
2017-03-08 18:09:57 -08:00
Raven Avalon 60aa9e9768 fix(scripts): change all paths in docs pushing script to relative paths (#3091) 2017-02-16 15:41:42 -08:00
Raven Avalon fd8c37921d chore: add examples folder into pushing script (#3035) 2017-02-10 13:36:50 -08:00
Paul Gschwendtner 67995d6f4a chore: update saucelabs tunnel binaries (#2891)
* Updates the saucelabs tunnel binaries to fix CI flakiness for unit tests and protractor.
   From what we experience, older versions of Saucelabs tend to cause flakiness immediately (See `master` branch)
2017-02-06 11:57:21 -08:00
Raven Avalon ba12f440c1 feat(scripts): push generated docs to material assets repo (#2720) 2017-02-06 11:56:54 -08:00
Raven Avalon 09591cf123 docs: Rename and update overview and readme files (#2614) 2017-01-30 13:31:16 -08:00
Paul Gschwendtner 741e7d444d chore: update version of sauce connect (#2553) 2017-01-06 11:32:12 -08:00
Paul Gschwendtner e2989b3b98 chore: track library payload in database (#2463)
Closes #111
2017-01-03 13:31:49 -08:00
Paul Gschwendtner ca0813914b chore(build): verify aot compilation works for components (#2504) 2017-01-03 09:27:24 -08:00
tinayuangao 0dd57da945 chore: add script to bulk copy generated docs files (#2337) 2016-12-21 17:17:25 -08:00
Paul Gschwendtner 35ca9b40e6 chore: publish artifacts to organization repository (#2260)
* Currently we are publishing to `DevVersion/material-builds` for testing purposes and everything seems to work as expected.
* Switching the repository to the `material2-builds` repository on the Angular organization
2016-12-19 10:18:17 -08:00
Paul Gschwendtner 2d24383fbf chore: fix sigpipe error for commit message (#2255)
* When retrieving the last commit message, the script currently pipes it through the head command.
  Since the git log command using the less command will exit immediately the pipe will fail with a 141 exit code (because it can't read from a closed stream)
2016-12-16 10:39:57 -08:00
Paul Gschwendtner 8f73f63253 chore: log messages while waiting for ci modes to finish (#2240)
* Currently the Travis CI leader mode can timeout, because the `e2e modes` runs longer than 10 minutes and the leader mode then needs to wait the same time (just without any output).
  Travis stops the build automatically when there is no output for the last 10 minutes.

* The plugin `travis-after-modes` has been updated to log a message (like a progress-bar) each time the modes are checked again.
2016-12-15 11:15:16 -08:00
Paul Gschwendtner 4126a83253 chore(artifacts): properly authenticate git (#2200) 2016-12-13 11:13:32 -08:00
Paul Gschwendtner 656ef2293c chore: setup git before publishing the builds (#2197)
* It looks like Git is unable to push the changes right now, because they don't have any commiter name & email set
2016-12-13 09:33:03 -08:00