Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #119 from PolymerElements/tedium-add-types
Browse files Browse the repository at this point in the history
Add automatic type generation.
  • Loading branch information
keanulee authored Aug 20, 2018
2 parents 677a4ab + e23ab58 commit 1b99fc1
Show file tree
Hide file tree
Showing 5 changed files with 1,298 additions and 392 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
bower_components*
bower-*.json
node_modules
*.d.ts
*.tgz
7 changes: 7 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
*.tgz
.github
.travis.yml
formatconfig.json
gen-tsd.json
test/
wct.conf.json
23 changes: 14 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
language: node_js
sudo: 'false'
before_script:
- npm install -g polymer-cli
- git checkout package-lock.json
- >-
npm run format && git diff --exit-code || (echo -e '\n\033[31mERROR:\033[0m
Project is not formatted. Please run "npm run format".' && false)
- npm install -g polymer-cli
- git checkout package-lock.json
- >-
npm run format && git diff --exit-code || (echo -e '\n\033[31mERROR:\033[0m
Project is not formatted. Please run "npm run format".' && false)
- npm run generate-types
env:
global:
- secure: jhiPl25/Iiw9k7CoOP4AZr71vm3oSPibQQYJvL/S/YmzfbV1drBBkNAKyYlN6rqFJnusHXuermceKJfQ3KfPy4+3FzZWqL0ZboCZ6zp/h3/FCxRqk6KtVc7+L9opF2FS6S4i5E6QnAKPPrwCD+T4E3sb8CC81Caw+Dy1EaeB40LzjrRWDB28h34z942JvFvXhdAWfMbenGxXd/JCJSKf81sA7sP6lbomzRbqlR8Btl8vGNK0aA0GlzBtuI0g7ts/idm8BNDx4oFmbuh8ci8OpveqdiyNoQX7BSj7Dw93sthXFWM5vtnp5eCV1w7sqNowjz09zzwpcCCV+6cs9yzC+V9pkKU6WPL8kOOfolQ7xMihWgDtPlLzAsxNxiEBkFkKSV2dtwXY2x61DM6f8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ZF0oxb+sO1KGALv/xRAIQpxXDNopsEWtz9tv4HFYkUF2EUJjrh9vOhiqAZ5wzEB1A3qcgXaVaLslzF5dDUy9WNyTM4oXV5Uc3dzKgpX+WiLuT+rUka86dg3TqPQb+USv6mi+3xnXSfyoDOkzEwNkI8jYndVG6aIrdvbLdgfxUiNWBKSoWqv9p/7VAfseNwzH+k7EYA+ct31HQ5JLPWfMDXMNIR68=
node_js: node
addons:
firefox: latest
chrome: stable
script:
- xvfb-run polymer test --module-resolution=node --npm
- 'if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then polymer test --module-resolution=node --npm -s ''default''; fi'
- >-
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then polymer test
--module-resolution=node --npm -s 'default'; fi
dist: trusty
cache:
directories:
Expand Down
Loading

0 comments on commit 1b99fc1

Please sign in to comment.