diff --git a/.travis.yml b/.travis.yml index da3db94..a2c11e8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ language: node_js -sudo: required +sudo: 'false' before_script: - npm install -g polymer-cli - polymer install --variants @@ -9,25 +9,23 @@ before_script: 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) + Project is not formatted. Please run "npm run format".' && false) env: global: - secure: >- - L4lSnuQZDY+YcXYzBZSRKjJJ1rZf18Lc/8YDgQPfkMkAItrRHGR8vblBoKiPAmtvgNxztcpZxAXTiDy1vAeVv54QnX9b1JsuOs7rrQxB4BS04Dj7LdT6DDu1p/V09MJBN11lzLVxgpxljbumwGWE4gfpDl2+rjbBt7cRV5VkVnE= + IRn7Bu0Iq9etV/e71Lt3D9FRwVYB6lx8ItB9qk6Tj0FdmtpZ0PIKjTQ08QnbNHinl4xMkeJWs41qPk8LpOig2LHd7AmXnomRwHck1+7oJyIqTMf9fsbZ8BkdAz8RPr0OmiTVsjAZaFaI9YVc9y9DyfD8DGO51mWdpUCfr/S2+Hw= - secure: >- - H7dHZ9FQvJszK2UMNZJiZmzOPET3muO/XvlkUc1x3KcUlV5/tD/404V05XfFMowH7DavHFYleZkb89deYjq9PHncO9c4bp4SHD7HKN4FaGyhzfpXjg66v3dZH/OcERjaas337uUE2jo/x1jCq4HJCz2bMVh+bvd4du1C/2OWarc= + ZJDnPya7VyGKCUiaG1VfoT2GWRXDPt33+uFgLxIx3ahZu/Mlw5jy5vu9Y/qQldHAdGceY19wmXhdHsnQBKmDjE4MDSVl7FDVV5eUstsudoovx+ul9MsbdGfBXKT6C3bATqPpQ+ML8hMeuJSQ4AlbY7+KhpVEVi4ko8uaDERdOWc= node_js: '9' addons: firefox: latest - apt: - sources: - - google-chrome - packages: - - google-chrome-stable - sauce_connect: true + chrome: stable script: - xvfb-run polymer test - >- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then polymer test -s 'default'; fi dist: trusty +cache: + directories: + - node_modules diff --git a/package.json b/package.json index b2584fe..bcc6eb3 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ }, "license": "BSD-3-Clause", "devDependencies": { - "@polymer/gen-typescript-declarations": "^1.2.0", + "@polymer/gen-typescript-declarations": "^1.2.2", "bower": "^1.8.0", "webmat": "^0.2.0" }, 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