|
@@ -1,74 +0,0 @@
|
|
|
-// sl_ie_11: {
|
|
|
-// base: 'SauceLabs',
|
|
|
-// browserName: 'internet explorer',
|
|
|
-// platform: 'Windows 10',
|
|
|
-// version: '11'
|
|
|
-// },
|
|
|
-// sl_android: {
|
|
|
-// base: 'SauceLabs',
|
|
|
-// browserName: 'Browser',
|
|
|
-// platform: 'Android',
|
|
|
-// version: '4.4',
|
|
|
-// deviceName: 'Samsung Galaxy S3 Emulator',
|
|
|
-// deviceOrientation: 'portrait'
|
|
|
-// }
|
|
|
-
|
|
|
-module.exports = function (config) {
|
|
|
- 'use strict';
|
|
|
- config.set({
|
|
|
-
|
|
|
- basePath: '../../',
|
|
|
- browserNoActivityTimeout: 1800000,
|
|
|
-
|
|
|
- urlRoot: '/karma',
|
|
|
-
|
|
|
- frameworks: ['mocha', 'chai', 'sinon'],
|
|
|
-
|
|
|
- files: [
|
|
|
- './Tools/DevLoader/BabylonLoader.js',
|
|
|
- './tests/validation/index.css',
|
|
|
- './tests/validation/integration.js',
|
|
|
- { pattern: 'dist/**/*', watched: false, included: false, served: true },
|
|
|
- { pattern: 'assets/**/*', watched: false, included: false, served: true },
|
|
|
- { pattern: 'tests/**/*', watched: false, included: false, served: true },
|
|
|
- { pattern: 'Playground/scenes/**/*', watched: false, included: false, served: true },
|
|
|
- { pattern: 'Playground/textures/**/*', watched: false, included: false, served: true },
|
|
|
- { pattern: 'Playground/sounds/**/*', watched: false, included: false, served: true },
|
|
|
- { pattern: 'Tools/DevLoader/**/*', watched: false, included: false, served: true },
|
|
|
- { pattern: 'Tools/Gulp/config.json', watched: false, included: false, served: true },
|
|
|
- ],
|
|
|
- proxies: {
|
|
|
- '/': '/base/'
|
|
|
- },
|
|
|
-
|
|
|
- port: 1338,
|
|
|
- colors: true,
|
|
|
- autoWatch: false,
|
|
|
- singleRun: false,
|
|
|
-
|
|
|
- // level of logging
|
|
|
- // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
|
|
|
- logLevel: config.LOG_ERROR,
|
|
|
-
|
|
|
- sauceLabs: {
|
|
|
- testName: 'Babylon JS Validation Tests',
|
|
|
- startConnect: false,
|
|
|
- tunnelIdentifier: process.env.TRAVIS_JOB_NUMBER,
|
|
|
- build: process.env.TRAVIS_BUILD_NUMBER,
|
|
|
- tags: [process.env.TRAVIS_BRANCH, process.env.TRAVIS_PULL_REQUEST],
|
|
|
- public: 'public'
|
|
|
- },
|
|
|
- customLaunchers: {
|
|
|
- sl_firefox: {
|
|
|
- base: 'SauceLabs',
|
|
|
- browserName: 'firefox',
|
|
|
- platform: 'Windows 10',
|
|
|
- version: '57',
|
|
|
- tunnelIdentifier: process.env.TRAVIS_JOB_NUMBER
|
|
|
- }
|
|
|
- },
|
|
|
- browsers: ['sl_firefox'],
|
|
|
- reporters: ['dots', 'saucelabs'],
|
|
|
- singleRun: true
|
|
|
- });
|
|
|
-};
|