From 4b84e7b5ead292292e6c661494cf6f5824f59137 Mon Sep 17 00:00:00 2001 From: Todd Kloots Date: Wed, 13 May 2015 15:54:53 -0700 Subject: [PATCH 1/5] Add Travis build status --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index c48a572..acc567a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ React A11y ========== +[![Build Status](https://secure.travis-ci.org/rackt/react-a11y.png?branch=master)](http://travis-ci.org/rackt/react-a11y) + Warns about potential accessibility issues with your React elements. ![screenshot](http://i.imgur.com/naQTETB.png) From 8902f32c0e27672af3e0a80df7169c0afe2ea0f2 Mon Sep 17 00:00:00 2001 From: Todd Kloots Date: Wed, 13 May 2015 16:11:23 -0700 Subject: [PATCH 2/5] Adding quotes --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index fde32f5..7f1bcfd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,5 +2,5 @@ language: node_js node_js: - "0.10" before_script: - - export DISPLAY=:99.0 - - sh -e /etc/init.d/xvfb start + - "export DISPLAY=:99.0" + - "sh -e /etc/init.d/xvfb start" From e8e308c3f0cd33851ae8de6c1dc77af3fdc160da Mon Sep 17 00:00:00 2001 From: Todd Kloots Date: Wed, 13 May 2015 16:38:31 -0700 Subject: [PATCH 3/5] Update karma config --- .travis.yml | 4 ++-- karma.conf.js | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7f1bcfd..a575c51 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,5 +2,5 @@ language: node_js node_js: - "0.10" before_script: - - "export DISPLAY=:99.0" - - "sh -e /etc/init.d/xvfb start" + - export DISPLAY=:99.0 + - sh -e /etc/init.d/xvfb start \ No newline at end of file diff --git a/karma.conf.js b/karma.conf.js index 3ce45ce..7f9f2e9 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -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', @@ -18,10 +20,10 @@ module.exports = function (config) { }, webpack: { - devtool: 'eval', + devtool: 'inline-source-map', module: { loaders: [ - { test: /\.js$/, loader: 'jsx-loader?harmony' } + { test: /\.js$/, loader: 'babel-loader' } ] }, plugins: [ From 0984795fe7720c4354ca11a5674e36da4be8eafb Mon Sep 17 00:00:00 2001 From: Todd Kloots Date: Wed, 13 May 2015 22:08:18 -0700 Subject: [PATCH 4/5] add dots --- karma.conf.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/karma.conf.js b/karma.conf.js index 7f9f2e9..bb1f22e 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -19,6 +19,8 @@ module.exports = function (config) { 'tests.webpack.js': [ 'webpack', 'sourcemap' ] }, + reporters: [ 'dots' ], + webpack: { devtool: 'inline-source-map', module: { From b34d70b59603ba71326d250f88bb8394a1b46b9d Mon Sep 17 00:00:00 2001 From: Todd Kloots Date: Wed, 13 May 2015 22:18:01 -0700 Subject: [PATCH 5/5] Update badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index acc567a..ea47f07 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ React A11y ========== -[![Build Status](https://secure.travis-ci.org/rackt/react-a11y.png?branch=master)](http://travis-ci.org/rackt/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.