From 008adfd571792d363dd3263f62de4716412926df Mon Sep 17 00:00:00 2001 From: just-boris Date: Tue, 7 Apr 2015 12:10:39 +0300 Subject: [PATCH] travis --- .travis.yml | 7 +++++++ README.md | 4 ++-- package.json | 1 + 3 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..202f00a --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +language: node_js +node_js: + - "0.10" + +before_install: + - "export DISPLAY=:99.0" + - "sh -e /etc/init.d/xvfb start" diff --git a/README.md b/README.md index f3eb4c7..679aee3 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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: [ diff --git a/package.json b/package.json index d525210..fee1792 100644 --- a/package.json +++ b/package.json @@ -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",