chore(saucelabs): add matrix badge to README.md

Closes #4400
This commit is contained in:
Marc Laval 2015-09-28 22:50:17 +02:00
parent 4731714244
commit e1853b33d3
3 changed files with 6 additions and 3 deletions

View File

@ -17,8 +17,8 @@ env:
- KARMA_BROWSERS=DartiumWithWebPlatform
- E2E_BROWSERS=Dartium
- LOGS_DIR=/tmp/angular-build/logs
- SAUCE_USERNAME=angular-ci
- SAUCE_ACCESS_KEY=9b988f434ff8-fbca-8aa4-4ae3-35442987
- SAUCE_USERNAME=angular2-ci
- SAUCE_ACCESS_KEY=693ebc16208a-0b5b-1614-8d66-a2662f4e
- ARCH=linux-x64
# Token for tsd to increase github rate limit
# See https://github.com/DefinitelyTyped/tsd#tsdrc

View File

@ -4,6 +4,7 @@
[![Issue Stats](http://issuestats.com/github/angular/angular/badge/issue)](http://issuestats.com/github/angular/angular)
[![npm version](https://badge.fury.io/js/angular2.svg)](http://badge.fury.io/js/angular2)
[![Downloads](http://img.shields.io/npm/dm/angular2.svg)](https://npmjs.org/package/angular2)
[![Sauce Test Status](https://saucelabs.com/browser-matrix/angular2-ci.svg)](https://saucelabs.com/u/angular2-ci)
Angular
=========

View File

@ -715,7 +715,9 @@ gulp.task('test.unit.js/ci', function (done) {
gulp.task('test.unit.js.sauce/ci', function (done) {
karma.server.start({configFile: __dirname + '/karma-js.conf.js',
singleRun: true, browserNoActivityTimeout: 240000, captureTimeout: 120000, reporters: ['dots', 'saucelabs'], browsers: sauceConf.aliases.CI},
singleRun: true, browserNoActivityTimeout: 240000, captureTimeout: 120000, browsers: sauceConf.aliases.CI,
reporters: process.env.TRAVIS_PULL_REQUEST == 'false' && process.env.TRAVIS_BRANCH == 'master' ?
['dots', 'saucelabs'] : ['dots']},
function(err) {done(); process.exit(err ? 1 : 0);});
});