// Karma configuration
// Generated on Wed Aug 30 2017 09:45:21 GMT+0800 (中国标准时间)
const karmaConfig = require('./karma.conf.common.js')

module.exports = function(config) {
    config.set(
        Object.assign(
            {},
            karmaConfig,
            {
                customLaunchers: {
                    bs_chrome_mac: {
                        base: 'BrowserStack',
                        browser: 'chrome',
                        browser_version: '55.0',
                        os: 'OS X',
                        os_version: 'Sierra'
                    },
                    bs_firefix_mac: {
                        base: 'BrowserStack',
                        os: 'OS X',
                        os_version: 'Sierra',
                        browser: 'firefox',
                        browser_version: '50.0'
                    },
                    bs_ie9_windows: {
                        base: 'BrowserStack',
                        browser: 'ie',
                        browser_version: '9.0',
                        os: 'Windows',
                        os_version: '7'
                    }
                },
                browsers: [
                    'bs_chrome_mac',
                    'bs_firefix_mac'
                ],
                // if true, Karma captures browsers, runs the tests and exits
                singleRun: true
            }
        )
    )
}

@@ -260,16 +260,524 @@
       %7B%0A
+                browserStack: %7B%0A                    username: 'shianqi',%0A                    accessKey: 'f1d96776-1238-4ae3-b015-36118bef1a1a',%0A                    retryLimit: 5,%0A                    captureTimeout: 1800,%0A                    timeout: 1800,%0A                    concurrency: 2,%0A                    browserNoActivityTimeout: 1800,%0A                    browserDisconnectTimeout: 1800,%0A                    browserDisconnectTolerance: 3,%0A                    pollingTimeout: 30000%0A                %7D,%0A
         

Fix Travis CI build error