From ec0b1e8dee10a5eba7f96104999cd2d886f6b896 Mon Sep 17 00:00:00 2001 From: Polymer Format Bot Date: Tue, 5 Jun 2018 12:23:26 -0700 Subject: [PATCH 1/5] Update travis config --- .travis.yml | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/.travis.yml b/.travis.yml index b8f21dd..f619f25 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,30 +1,18 @@ language: node_js -sudo: required +sudo: 'false' before_script: - npm install -g polymer-cli - polymer install --variants - - >- - npm run update-types && git diff --exit-code || (echo -e - '\n\033[31mERROR:\033[0m Typings are stale. Please run "npm run - update-types".' && false) - - >- - npm run format && git diff --exit-code || (echo -e '\n\033[31mERROR:\033[0m - Typings are stale. Please run "npm run format".' && false) env: global: - secure: >- - OqWtaAPVAWrMk+C50ECYQBxTBjJNnhVargB5yCMMhZdRruUV8qP64lI+rme+pPzLOOZZyjiepjvPycLxHe8ha8pW2FYxz4mpPwHjcgodEN+VypiXf7JtxfUXF2R7J6I0tI+oGlS/d9eJgl5HQmTjJqNjop6rTqCAH6tXuOo8PXs= + eQwWgzO9xTPJ2yGTukx1LinlkjZkPxDq7ZIj2XH6hy1eGROhJo9+OX6TvP3zF0Gdwr5zd4gRDWoCEzA76hp6UpluTvcMQjzI9RKFehXbRUp8pYWKc2E4rPg1SC7LtXM2aJ2ePzKwh9QO+87Nz/xbJ+VR8/NP27YbzWRsYDs01zg= - secure: >- - SnvNLWCibiemlbhjr+r+lSRKZD1bbGuqGfp9kNGWDqjzMh8R2DuNNtp10vBlNDQiotkK/J9jTdq11ng1Brk2YGF/65TRI5Vj9VxfsOuKuzLAmNUlfteYFDI7PMVeeB9FcgC0b51DBXKeyNr/sD5VmUqUoIrtDfKUT1pHaMZHAjQ= -node_js: stable + TlFiLsdy1qq80zub+MLA5XdGmQ6e9AYqjUGa+P1ey8rtPmuFChLfRV12vX5KbaxqlESBoA/nfIf1dAwuE3KYTdp41s8pjzfAna/khqw1PePwAyZ1fGLk7PJBtCN4fuGhudrxQSVBi5iRmJ6uNHFO61efRBLvAQw2U66j8wM+vmA= +node_js: '9' addons: firefox: latest - apt: - sources: - - google-chrome - packages: - - google-chrome-stable - sauce_connect: true + chrome: stable script: - xvfb-run polymer test - |- From 32fd2d33b5b6804784bcd99d69f1013d1078e986 Mon Sep 17 00:00:00 2001 From: Polymer Format Bot Date: Tue, 5 Jun 2018 12:23:26 -0700 Subject: [PATCH 2/5] Update and/or configure type declarations. --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index f619f25..d443647 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,10 @@ sudo: 'false' before_script: - npm install -g polymer-cli - polymer install --variants + - >- + npm run update-types && git diff --exit-code || (echo -e + '\n\033[31mERROR:\033[0m Typings are stale. Please run "npm run + update-types".' && false) env: global: - secure: >- From b65b358ceef18645cb90aab3f37f023e730d1bac Mon Sep 17 00:00:00 2001 From: Polymer Format Bot Date: Tue, 5 Jun 2018 12:23:26 -0700 Subject: [PATCH 3/5] Format project. --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index d443647..fc71e18 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,9 @@ before_script: npm run update-types && git diff --exit-code || (echo -e '\n\033[31mERROR:\033[0m Typings are stale. Please run "npm run update-types".' && false) + - >- + npm run format && git diff --exit-code || (echo -e '\n\033[31mERROR:\033[0m + Project is not formatted. Please run "npm run format".' && false) env: global: - secure: >- From 202e4a236bfde5e6671ede1412de50332f00b2a0 Mon Sep 17 00:00:00 2001 From: Polymer Format Bot Date: Tue, 5 Jun 2018 12:23:26 -0700 Subject: [PATCH 4/5] Update WCT config --- wct.conf.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 wct.conf.json diff --git a/wct.conf.json b/wct.conf.json new file mode 100644 index 0000000..bb2d5a8 --- /dev/null +++ b/wct.conf.json @@ -0,0 +1,16 @@ +{ + "plugins": { + "local": { + "browserOptions": { + "chrome": [ + "no-sandbox", + "headless", + "disable-gpu" + ], + "firefox": [ + "-headless" + ] + } + } + } +} \ No newline at end of file From fef3c54090e9fe270acabeb322ce2cee0868dd41 Mon Sep 17 00:00:00 2001 From: Elliott Marquez Date: Wed, 6 Jun 2018 17:12:09 -0700 Subject: [PATCH 5/5] remove |- --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index fc71e18..e96ef6c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,8 +22,7 @@ addons: chrome: stable script: - xvfb-run polymer test - - |- - >- + - >- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then polymer test -s 'default'; fi dist: trusty