# Travis CI Configuration

language: node_js
node_js:
  - "7"
  - "6"
# Installing rsvg-brunch requires a C++11 compiler and librsvg
addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test
    packages:
    - g++-4.8
    - librsvg2-dev
env:
  - CXX=g++-4.8
before_script:
  - brunch build
script:
  - npm run lint
  - npm run coverage
after_success:
  - nyc report --reporter=text-lcov | coveralls

# Travis CI Configuration

language: node_js
node_js:
  - "7"
  - "6"
# Installing rsvg-brunch requires a C++11 compiler and librsvg
addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test
    packages:
    - g++-4.8
    - librsvg2-dev
env:
  - CXX=g++-4.8
before_install:
  - export CHROME_BIN=chromium-browser
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start
install:
  - npm install
  - npm install coveralls
before_script:
  - brunch build
script:
  - npm run lint
  - npm run coverage
after_success:
  - cat coverage/lcov.info | coveralls

Fix Karma/coverage issues with Travis (hopefully)
Fix Karma/coverage issues with Travis (hopefully)
