mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Main changes: * Use gulpfile now (build was getting way too disorganized with custom tasks; gulpfiles are much easier to build clean custom tasks with than Grunt. * View README#Development for updated commands * Docs written for ionContent, ionHeaderBar, ionInfiniteScroll. * Docs are pushed to ajoslin's fork of ionic-site until they reach a * point where they can be published. **TODO, In Order of Priority** 1. Finish writing source-documentation for all existing components 2. Add multiple versions of docs (one per release & nightly, latest stable release docs being shown by default) 3. Add examples generation 4. Add searchbar to docs
62 lines
1.5 KiB
JavaScript
62 lines
1.5 KiB
JavaScript
|
|
module.exports = function(config) {
|
|
require('./karma.conf.js')(config);
|
|
|
|
config.set({
|
|
reporters: ['dots'],
|
|
sauceLabs: {
|
|
testName: 'Ionic unit tests',
|
|
username: process.env.SAUCE_USER,
|
|
accessKey: process.env.SAUCE_KEY,
|
|
startConnect: false,
|
|
tunnelIdentifier: process.env.TRAVIS_JOB_NUMBER
|
|
},
|
|
//Saucelabs mobile emulation (esp android emulator)
|
|
//can be really slow sometimes, we need to give it time to connectk
|
|
captureTimeout: 60 * 1000,
|
|
browserDisconnectTimeout: 60 * 1000,
|
|
browserNoActivityTimeout: 60 * 1000,
|
|
browserDisconnectTolerance: 2,
|
|
browsers: [
|
|
// 'sauce_ios',
|
|
// 'sauce_safari',
|
|
'sauce_android',
|
|
'sauce_chrome',
|
|
// 'sauce_firefox',
|
|
// 'sauce_ie9',
|
|
// 'sauce_ie10',
|
|
// 'sauce_ie11'
|
|
],
|
|
customLaunchers: {
|
|
'sauce_ios': {
|
|
base: 'SauceLabs',
|
|
platform: 'OS X 10.9',
|
|
browserName: 'iphone',
|
|
version: '7'
|
|
},
|
|
'sauce_safari': {
|
|
base: 'SauceLabs',
|
|
browserName: 'safari',
|
|
platform: 'OS X 10.9',
|
|
version: '7'
|
|
},
|
|
'sauce_android': {
|
|
base: 'SauceLabs',
|
|
platform: 'Linux',
|
|
browserName: 'android',
|
|
version: '4.0'
|
|
},
|
|
'sauce_chrome': {
|
|
base: 'SauceLabs',
|
|
browserName: 'chrome'
|
|
},
|
|
'sauce_firefox': {
|
|
base: 'SauceLabs',
|
|
platform: 'Linux',
|
|
browserName: 'firefox',
|
|
version: '26'
|
|
}
|
|
},
|
|
});
|
|
};
|