sudo: false
dist: trusty
language: node_js
node_js: stable

cache:
  directories:
    - node_modules

install:
  - npm install
  - polymer install --variants

script:
  # test against Polymer 2
  # There's currently some weird JS errors with Polymer v2.
  # TODO @limonte Revisit after Polymer v2 stable release
  # - gemini test test/visual

  # test against Polymer 1
  - rm -rf bower_components
  - mv bower_components-1.x bower_components
  - gemini test test/visual
  - gemini test test/visual -c .gemini-ie.yml

sudo: false
dist: trusty
language: node_js
node_js: stable

cache:
  directories:
    - node_modules

install:
  - npm install
  - polymer install --variants

script:
  # test against Polymer 2
  - gemini test test/visual
  - gemini test test/visual -c .gemini-ie.yml

  # test against Polymer 1
  - rm -rf bower_components
  - mv bower_components-1.x bower_components
  - gemini test test/visual
  - gemini test test/visual -c .gemini-ie.yml

Enable visual tests for Polymer 2
Enable visual tests for Polymer 2
