sudo: false

language: node_js

node_js:
  - "6"

cache:
  directories:
    - node_modules
env:
  - DISPLAY=:99.0

before_install:
  - "npm prune"

before_script:
  - "rm src/ol/renderer/webgl/*shader.js"
  - "sh -e /etc/init.d/xvfb start"
  - "npm ls"

script: "make ci"

after_success:
  - "make test-coverage"
  - "cat coverage/lcov.info | ./node_modules/.bin/coveralls"

branches:
  only:
    - master

sudo: false

language: node_js

node_js:
  - "6.1"

cache:
  directories:
    - node_modules
env:
  - DISPLAY=:99.0

before_install:
  - "npm prune"

before_script:
  - "rm src/ol/renderer/webgl/*shader.js"
  - "sh -e /etc/init.d/xvfb start"
  - "npm ls"

script: "make ci"

after_success:
  - "make test-coverage"
  - "cat coverage/lcov.info | ./node_modules/.bin/coveralls"

branches:
  only:
    - master

Make Travis use node v6.1
Make Travis use node v6.1
