Skip to content

Commit

Permalink
make mobile apps public accessible
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann committed Jan 26, 2016
1 parent 7f363a4 commit a1441f8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,22 @@ env:
- _PLATFORM: "iOS"
_DEVICENAME: "iPhone 6"
_VERSION: "9.2"
_APP: http://webdriverjs.christian-bromann.com/ios.zip
_ENV: "ios"
- _PLATFORM: "iOS"
_DEVICENAME: "iPad Air"
_VERSION: "9.2"
_APP: http://webdriverjs.christian-bromann.com/ios.zip
_ENV: "ios"
- _PLATFORM: "Linux"
_DEVICENAME: "Google_Nexus_7_HD_Emulator"
_VERSION: "4.3"
_APP: http://webdriverjs.christian-bromann.com/android.apk.zip
_ENV: "android"
- _PLATFORM: "Android"
_DEVICENAME: "Samsung_Galaxy_S4_Emulator"
_VERSION: "4.4"
_APP: http://webdriverjs.christian-bromann.com/android.apk.zip
_ENV: "android"
- _BROWSER: "phantomjs"
_ENV: "functional"
Expand Down
6 changes: 1 addition & 5 deletions gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,15 +212,11 @@ module.exports = function (grunt) {
process.env._PLATFORM = 'iOS'
process.env._VERSION = '9.2'
process.env._DEVICENAME = 'iPhone 6'
process.env._APP = __dirname + '/test/site/platforms/ios/build/emulator/WebdriverJS Example Phonegap Application.app'
} else if (!process.env.CI && env === 'android') {
process.env._PLATFORM = 'Android'
process.env._VERSION = '4.4'
process.env._DEVICENAME = 'Samsung Galaxy S4 Emulator'
}

if (env === 'ios') {
process.env._APP = __dirname + '/test/site/platforms/ios/build/emulator/WebdriverJS Example Phonegap Application.app'
} else if (env === 'android') {
process.env._APP = __dirname + '/test/site/platforms/android/build/outputs/apk/android-debug.apk'
}

Expand Down
2 changes: 1 addition & 1 deletion lib/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ class Runner {

throw new Error(
`Couldn't load "${frameworkLibrary}" framework. You need to install ` +
`it with \`$ npm install wdio-${frameworkLibrary}-framework\`!\n${e.stack}`
`it with \`$ npm install ${frameworkLibrary}\`!\n${e.stack}`
)
}
}
Expand Down

0 comments on commit a1441f8

Please sign in to comment.