Skip to content

Commit

Permalink
travis
Browse files Browse the repository at this point in the history
  • Loading branch information
just-boris committed Apr 7, 2015
1 parent 99a61e1 commit 008adfd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
language: node_js
node_js:
- "0.10"

before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# karma-bower
# karma-bower [![Build Status](https://travis-ci.org/just-boris/karma-bower.svg?branch=master)](https://travis-ci.org/just-boris/karma-bower)

> Loads bower packages into your test scope.
Expand All @@ -17,7 +17,7 @@ Add into your `karma.conf.js`
```js
module.exports = function(config) {
config.set({
frameworks: ['matchers-loader'],
frameworks: ['bower'],

//then you can load any package from bower into your tests
bowerPackages: [
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"bower-resolve": "^2.2.1"
},
"devDependencies": {
"bower": "^1.4.1",
"karma": "^0.12.31",
"karma-cli": "0.0.4",
"karma-firefox-launcher": "^0.1.4",
Expand Down

0 comments on commit 008adfd

Please sign in to comment.