diff --git a/.travis.yml b/.travis.yml index 7a0664c57f..3331af6244 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/README.md b/README.md index 805ef298e0..a4d10c98ab 100644 --- a/README.md +++ b/README.md @@ -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 ========= diff --git a/gulpfile.js b/gulpfile.js index 9070c769b9..bf87196e9a 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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);}); });