Skip to content
This repository has been archived by the owner on Jul 30, 2018. It is now read-only.

Commit

Permalink
Move to BrowserStack for CI (#337)
Browse files Browse the repository at this point in the history
* Move to BrowserStack for CI

* temp comment out safari and iPhone 9.1 from test envs
  • Loading branch information
agubler authored May 22, 2017
1 parent bf3b947 commit 5db1809
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ env:
# Please get your own free key if you want to test yourself
- SAUCE_USERNAME: dojo2-ts-ci
- SAUCE_ACCESS_KEY: e92610e3-834e-4bec-a3b5-6f7b9d874601
- BROWSERSTACK_USERNAME: dtktestaccount1
- BROWSERSTACK_ACCESS_KEY: mG2qbEFJCZY2qLsM7yfx
- BROWSERSTACK_USERNAME: dylanschiemann2
- BROWSERSTACK_ACCESS_KEY: 2upt88qsxsqqeukQvecu
addons:
apt:
packages:
Expand All @@ -23,7 +23,7 @@ install:
script:
- grunt
- grunt intern:node --combined
- grunt intern:saucelabs --combined
- grunt intern:browserstack --combined
- grunt remapIstanbul:ci
- grunt uploadCoverage
- if [ "$TRAVIS_BRANCH" = "master" ]; then grunt doc; fi
Expand Down
2 changes: 1 addition & 1 deletion tests/intern-local.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export * from './intern';

export const tunnel = 'NullTunnel';
export const tunnel = 'SeleniumTunnel';
export const tunnelOptions = {
hostname: 'localhost',
port: '4444'
Expand Down
12 changes: 8 additions & 4 deletions tests/intern.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,18 @@ export const capabilities = {
// OnDemand. Options that will be permutated are browserName, version, platform, and platformVersion; any other
// capabilities options specified for an environment will be copied as-is
export const environments = [
{ browserName: 'internet explorer', version: [ '10', '11' ], platform: 'WINDOWS' },
{ browserName: 'internet explorer', version: '11' },
{ browserName: 'edge' },
{ browserName: 'firefox', platform: 'WINDOWS' },
{ browserName: 'chrome', platform: 'WINDOWS' }/*,
{ browserName: 'Safari', version: '9', platform: 'OS X' }*/
{ browserName: 'chrome', platform: 'WINDOWS' }
// Issue with iphone 9.1 and Safari compatability, commented out for move to
// browserstack and issue raised - https://github.com/dojo/core/issues/338
// { browserName: 'safari', version: '9.1', platform: 'MAC' },
// { browserName: 'iPhone', version: '9.1' }
];

// Maximum number of simultaneous integration tests that should be executed on the remote WebDriver service
export const maxConcurrency = 2;
export const maxConcurrency = 5;

// Name of the tunnel class to use for WebDriver tests
export const tunnel = 'BrowserStackTunnel';
Expand Down

0 comments on commit 5db1809

Please sign in to comment.