Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
86 changed files
with
1,627 additions
and
2,351 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,8 @@ | ||
{ | ||
"extends": "vaadin", | ||
"env": { | ||
"browser": true, | ||
"node": true, | ||
"es6": true | ||
}, | ||
"plugins": [ | ||
"html" | ||
], | ||
"globals": { | ||
"Polymer": false, | ||
"Vaadin": false | ||
"parserOptions": { | ||
"sourceType": "module", | ||
"ecmaVersion": 2018, | ||
"project": "./tsconfig.json" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,16 @@ | ||
rootUrl: http://localhost:8080/components/vaadin-tabs/test/visual/ | ||
rootUrl: http://localhost:8080/test/visual/ | ||
gridUrl: http://localhost:4444/wd/hub | ||
screenshotsDir: ./test/visual/screens | ||
|
||
system: | ||
plugins: | ||
polyserve: | ||
esm: | ||
port: 8080 | ||
sauce: true | ||
|
||
browsers: | ||
chrome: | ||
desiredCapabilities: | ||
browserName: "chrome" | ||
version: "67.0" | ||
platform: "Windows 10" | ||
|
||
firefox: | ||
desiredCapabilities: | ||
browserName: "firefox" | ||
version: "47.0" | ||
version: "69.0" | ||
platform: "Windows 10" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"singleQuote": true, | ||
"printWidth": 120 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,21 @@ | ||
sudo: false | ||
dist: xenial | ||
language: node_js | ||
node_js: 8.11 | ||
|
||
cache: | ||
directories: | ||
- node_modules | ||
node_js: lts/* | ||
|
||
addons: | ||
firefox: "66.0" | ||
firefox: latest | ||
chrome: stable | ||
|
||
jobs: | ||
include: | ||
- if: type = push | ||
env: TEST_SUITE=unit_tests POLYMER=2 | ||
- if: type = push | ||
env: TEST_SUITE=visual_tests POLYMER=2 | ||
- if: type = push | ||
env: TEST_SUITE=unit_tests POLYMER=3 | ||
- if: type = pull_request | ||
env: POLYMER=2 | ||
addons: | ||
firefox: "66.0" | ||
chrome: stable | ||
- if: type = pull_request | ||
env: POLYMER=3 | ||
addons: | ||
firefox: "66.0" | ||
chrome: stable | ||
- if: type = cron | ||
env: TEST_SUITE=unit_tests POLYMER=2 | ||
|
||
script: | ||
- if [[ "$POLYMER" = "2" ]]; then | ||
npm -q i && npm i -q --no-save bower polymer-cli && bower -q i && | ||
if [[ "$TRAVIS_EVENT_TYPE" != "pull_request" && "$TRAVIS_BRANCH" != quick/* ]]; then | ||
if [[ "$TEST_SUITE" = "visual_tests" ]]; then | ||
npm i -q --no-save gemini@^4.0.0 gemini-sauce gemini-polyserve && | ||
gemini test test/visual; | ||
else | ||
wct --env saucelabs; | ||
fi; | ||
else | ||
npm run check && | ||
npm run lint && | ||
xvfb-run -s '-screen 0 1024x768x24' wct; | ||
fi && | ||
if [[ "$TRAVIS_EVENT_TYPE" = "cron" && "$TEST_SUITE" = "unit_tests" ]]; then | ||
wct --env saucelabs-cron; | ||
fi; | ||
fi | ||
- if [[ "$POLYMER" = "3" ]]; then | ||
npm --no-save -q install -g yarn bower magi-cli web-component-tester polymer-modulizer && | ||
rm -rf node_modules && | ||
magi p3-convert --out . --import-style=name && | ||
yarn install --flat && | ||
if [[ "$TRAVIS_EVENT_TYPE" != "pull_request" && "$TRAVIS_BRANCH" != quick/* ]]; then | ||
wct --npm --env saucelabs; | ||
else | ||
xvfb-run -s '-screen 0 1024x768x24' wct --npm; | ||
fi; | ||
fi | ||
|
||
- if [[ "$TRAVIS_EVENT_TYPE" != "pull_request" ]]; then | ||
npm run test:sauce && npm run test:visual; | ||
else | ||
npm run check:version && | ||
npm run lint && | ||
npm test; | ||
fi | ||
|
||
after_success: | ||
- "cat ${TRAVIS_BUILD_DIR}/coverage/lcov.info | coveralls" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module.exports = { | ||
presets: ['@babel/preset-typescript'], | ||
plugins: [ | ||
[ | ||
'@babel/plugin-proposal-decorators', | ||
{ | ||
decoratorsBeforeExport: true | ||
} | ||
], | ||
'@babel/plugin-proposal-class-properties' | ||
], | ||
}; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.