Gruntfile.js 717 Bytes
Newer Older
Chris Rebert's avatar
Chris Rebert committed
1
2
/*!
 * Bootstrap's Gruntfile
3
 * https://getbootstrap.com
Nuno Arruda's avatar
Nuno Arruda committed
4
5
 * Copyright 2013-2017 The Bootstrap Authors
 * Copyright 2013-2017 Twitter, Inc.
Chris Rebert's avatar
Chris Rebert committed
6
7
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */
8

9
'use strict'
10

11
module.exports = function (grunt) {
12
13
  // Project configuration.
  grunt.initConfig({
14
15
16
17
    'saucelabs-qunit': {
      all: {
        options: {
          build: process.env.TRAVIS_JOB_ID,
Chris Rebert's avatar
Chris Rebert committed
18
          concurrency: 10,
19
          maxRetries: 3,
20
          maxPollRetries: 4,
21
          urls: ['http://localhost:3000/js/tests/index.html?hidepassed'],
Bardi Harborow's avatar
Bardi Harborow committed
22
          browsers: grunt.file.readYAML('build/sauce_browsers.yml')
23
24
        }
      }
25
    }
26
  })
27

Bardi Harborow's avatar
Bardi Harborow committed
28
  grunt.loadNpmTasks('grunt-saucelabs')
29
}