Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Commit

Permalink
chore: Update Travis configuration to run Karma through Grunt
Browse files Browse the repository at this point in the history
Running Grunt from within Travis allows us to lint the code in addition to
firing off the standard suite of unit tests.
  • Loading branch information
kadamwhite committed Sep 17, 2013
1 parent c322455 commit d824cfc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
language: node_js
node_js:
- "0.8"
- "0.10"

before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- npm install -g [email protected] bower
- npm install -g karma bower grunt-cli
- bower install
- npm install

script: "testacular start test/test.conf.js --browsers=Firefox,PhantomJS"
script: "grunt"

0 comments on commit d824cfc

Please sign in to comment.