Skip to content

Commit

Permalink
Merge pull request #31 from rackt/add-travis-badge
Browse files Browse the repository at this point in the history
Add Travis build status
  • Loading branch information
kloots committed May 14, 2015
2 parents 34533d7 + b34d70b commit 9c0f970
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ node_js:
- "0.10"
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sh -e /etc/init.d/xvfb start
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
React A11y
==========

[![build status](https://img.shields.io/travis/rackt/react-a11y/master.svg?style=flat-square)](https://travis-ci.org/rackt/react-a11y)

Warns about potential accessibility issues with your React elements.

![screenshot](http://i.imgur.com/naQTETB.png)
Expand Down
8 changes: 6 additions & 2 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ var webpack = require('webpack');
module.exports = function (config) {
config.set({

browserNoActivityTimeout: 30000,

browsers: [ process.env.CONTINUOUS_INTEGRATION ? 'Firefox' : 'Chrome' ],

singleRun: process.env.CONTINUOUS_INTEGRATION === 'true',
Expand All @@ -17,11 +19,13 @@ module.exports = function (config) {
'tests.webpack.js': [ 'webpack', 'sourcemap' ]
},

reporters: [ 'dots' ],

webpack: {
devtool: 'eval',
devtool: 'inline-source-map',
module: {
loaders: [
{ test: /\.js$/, loader: 'jsx-loader?harmony' }
{ test: /\.js$/, loader: 'babel-loader' }
]
},
plugins: [
Expand Down

0 comments on commit 9c0f970

Please sign in to comment.