37 lines
644 B
YAML
37 lines
644 B
YAML
sudo: false
|
|
|
|
language: node_js
|
|
|
|
node_js:
|
|
- "6"
|
|
|
|
cache:
|
|
directories:
|
|
- node_modules
|
|
|
|
# Make chrome browser available for testing
|
|
before_install:
|
|
- export CHROME_BIN=chromium-browser
|
|
- export DISPLAY=:99.0
|
|
- sh -e /etc/init.d/xvfb start
|
|
|
|
install:
|
|
- npm install
|
|
|
|
script:
|
|
- npm run build
|
|
- npm run test
|
|
- BROWSER=true COVERAGE=false FLAKEY=false PERFORMANCE=false npm run test:karma
|
|
|
|
# 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
|