.travis.yml
language: node_js
node_js:
- "5"
- "6"
cache:
directories:
- node_modules
install:
- npm install
script:
- npm run test
# Necessary to compile native modules for io.js v3 or Node.js v4
env:
- CXX=g++-4.8
# Necessary to compile native modules for io.js v3 or Node.js v4
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_script:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start