language: node_js sudo: required 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: >- FVt0rYGSWqJW3i57y9CQHuDaa97UDwZuGc5ts+TDpbuR3DVP8LxB9MT1ApA2bqhg101hPzhWJWIK3Siotkb7eAlsiWgVhdNr8t5eZBPOOnjLiU6PNCF6ZGCZRJHQ6q4xQ2DycGug8OfwMw63yewLEYmVBppeAlStnPUfDWURlJ8= - secure: >- X7cWxU13zLWoahM/BNBPSvgnI396zMmLzVHDHX6zAQL7gFL+PS4Dz6WjooO3Jx79ks2E8REUzWB8IFY3FohVAncXA///PAaqNLX0k2et4aOTOs5tcsCWL4nj8tKA6vjZIZ61rCjWTyNRR+o2QPsY9QQgi3Y+6bzLguWoPuycRbE= node_js: stable addons: firefox: latest apt: sources: - google-chrome packages: - google-chrome-stable script: - xvfb-run polymer test - >- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then polymer test -s 'default'; fi dist: trusty