Skip to content
This repository has been archived by the owner on Feb 2, 2019. It is now read-only.

Commit

Permalink
feat(build): add travis script for test execution
Browse files Browse the repository at this point in the history
  • Loading branch information
justindujardin committed Dec 13, 2015
1 parent 787c123 commit 7dd10ca
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .travis.yml
@@ -0,0 +1,22 @@
language: node_js
sudo: false
node_js:
- "4.0"

before_script:
- npm install
- ./node_modules/.bin/grunt build

script:
- karma start karma.conf.js

before_install:
- npm install -g karma-cli
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start

after_script:
- ./node_modules/.bin/grunt remapIstanbul
- ./node_modules/.bin/coveralls < .coverage/lcov.info

0 comments on commit 7dd10ca

Please sign in to comment.