Commit Graph

56 Commits

Author SHA1 Message Date
Paul Gschwendtner 333ec80750 build: fix screenshot tool deployment (#6337)
* Currently the screenshot tool application is not built in the deploy script. This causes Firebase to throw an error because the target directory does not exist.
2017-08-08 13:26:33 -07:00
Paul Gschwendtner ea6e829239 build: retry attemps for tunnel connections (#6246)
On the CI it happens pretty often that the tunnel connection to the different providers like Browserstack or Saucelabs is timing out.

Instead of always restarting manually, the script should automatically retry to run the connection establishing script.
2017-08-04 14:00:47 -07:00
Paul Gschwendtner 2e3d616941 chore: consistent script names for travis setup (#5986)
* Updates the outdated README in the `ci/` folder.
* Renames the `env.sh` script to `travis-env.sh` because it only works for Travis and is not a generic script.
2017-07-27 09:50:10 -07:00
Paul Gschwendtner dabcd53bc9 build: separate deploy jobs in deploy build stage (#5621)
Currently every deployment runs in a single Travis job concurrently. This messes up the logs and it's also hard to see what actually runs at all.

The different deployment jobs should run concurrently in the deploy build stage.
2017-07-10 11:38:09 -07:00
Jeremy Elbourn 3181335074 Revert "build: publish build tools on github (#5458)" (#5526)
This reverts commit 0675568d03.
2017-07-05 18:10:22 -07:00
Paul Gschwendtner 0675568d03 build: publish build tools on github (#5458)
* Publishes the material2-build-tools on Github.
2017-07-05 16:29:52 -07:00
Paul Gschwendtner d859d34739 build: better error reporting of bash scripts (#5397)
Currently whenever something fails in the deploy script it will likely not cause the CI to show the failure. This is because Bash by default doesn't exit the process with the proper error code.
2017-06-29 10:32:00 -07:00
Paul Gschwendtner 746495a222 build: update sauce connect version (#5179)
* Updates the version of Sauce Connect to avoid potential flakes within the Saucelabs tunnels
* Fixes the invalid path for the `deploy-dashboard` script that runs in the deploy build stage
2017-06-19 09:30:01 -07:00
Paul Gschwendtner 154f54ec14 build: run chrome headless in travis (#5126) 2017-06-14 14:26:52 -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 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 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 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 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
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 ba12f440c1 feat(scripts): push generated docs to material assets repo (#2720) 2017-02-06 11:56:54 -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
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 c1f7f826ca chore: fix invalid check for travis pull request (#2154)
The recently added script for the per-commit publishing is not properly checking for the environment variable.
This means that the per-commit packages can be not created yet.
2016-12-12 17:12:00 -08:00
Paul Gschwendtner 58d2aa3f9c chore: create build artifacts for each commit (#2082)
* chore: create build artifacts for each commit

* Switch to new npm package

* Update version to latest

* Publish the builds after all modes succeeded.

* Address comments

* Change snake_case to camelCase
2016-12-09 13:57:28 -08:00
Paul Gschwendtner c5920513a1 chore: make tunnel filenames consistent (#2072)
* Currently the tunnel `setup/wait/stop` files always have different names like `sauce_connect_block` or just `waitfor_tunnel`.
2016-12-05 19:08:01 -08:00
Paul Gschwendtner f1b9b2cbbf chore(forbidden-identifiers): detect incorrect line endings (#1722)
* chore(forbidden-identifiers): detect incorrect line endings

* Removes stale scope checking (from `@angular2-material/$COMPONENT` times)
* Adds support for error grouping (useful when having a file full of invalid line endings)
* Moves chains into exta functions to understand procession easily.

* Update comment wording
2016-11-29 11:18:41 -08:00
Paul Gschwendtner 9a7d381a28 chore(browserstack): properly teardown tunnel (#1745) 2016-11-08 12:27:40 -08:00
Hans b5c8c63a27 feat(packaging): move packaging to a single "@angular/material" (#1286) 2016-09-22 13:24:12 -07:00
Hans abcc6af54d build: move from angular-cli to gulp (#948)
Fixed #1636.
2016-08-19 10:59:45 -07:00
Paul Gschwendtner 5160f58371 chore(ci): forbidden identifiers check all source files (#968)
* fix(button): remove relative import from other scope.

* Removes invalid relative import from other scope.
* Forbidden identifiers should run against all sources when not checking a PR.
* Cleanup Forbidden identifiers script, by using ES6 arrow functions.

Fixes #967.
2016-08-13 14:12:07 -07:00
Jeremy Elbourn 22254dc3ed chore: add extract_metadata task to CI (#859) 2016-07-14 16:51:15 -07:00
Jeremy Elbourn e0284d4d3d chore: update to angular RC4 and other update other packages (#843)
* chore: update angular-cli version

* tests are passing

* use straight jasmine functions

* remove deprecated methods

* remove use of new Provider(...)

* fix tests that relied on returning a promise

* debugging ios8
2016-07-12 15:22:20 -07:00
Paul Gschwendtner 819c9efa8d chore(): forbidden identifiers check for relative scope imports. (#764) 2016-07-06 22:25:47 -07:00
Jeremy Elbourn 7419a12d29 chore: block import of entire rxjs library (#625) 2016-06-03 15:27:17 -07:00
Jeremy Elbourn fda56173f8 fix: remove circular deps and ci check (#608) 2016-06-02 15:51:17 -07:00
Sendil Kumar N 8f9bc7795b chore: add stylelint checks to CI (#532) 2016-05-26 10:58:46 -07:00
Hans c7b95b5079 chore: fix e2e tests to use e2e app. (#482) 2016-05-20 09:47:24 -07:00
Hans Larsen 6a84fc556c test(e2e): add support for e2e app and running tests. 2016-05-19 17:06:36 -07:00
Jeremy Elbourn 69512c2f6a chore: remove dart source and tooling 2016-04-05 09:45:27 -07:00
Hans Larsen c139452968 chore: strengthen and improve forbidden-keywords. 2016-04-04 11:26:53 -07:00
DevVersion 7fa7fa7bcc fix(ci): analyze commits should scan complete commit range.
Closes #216
2016-03-21 17:37:08 -07:00
Jeremy Elbourn 9155856214 fix(ci): fix flakiness by inlining html & css 2016-03-19 18:53:30 -07:00
DevVersion 165ccece47 chore: analyze travis commit and check for blocked statements.
Fixes #175.

Closes #180
2016-03-17 10:38:52 -07:00
Robert Messerle df1cb667f1 test(e2e): initial setup for screenshot tests 2016-03-14 14:55:43 -07:00
Hans Larsen d93b74ef1a chore(): update to Beta.6, including having our own typings. 2016-02-25 14:58:03 -08:00
Hans Larsen 9b4b9e7cf4 build(): Add a dartanalyzer run to Travis. It is required. 2016-02-16 15:15:51 -08:00