Skip to content

Commit

Permalink
ci android branch for build appium#301.3
Browse files Browse the repository at this point in the history
  • Loading branch information
appium-ci committed May 15, 2014
1 parent 8c5fef8 commit 811d415
Show file tree
Hide file tree
Showing 6 changed files with 89 additions and 21 deletions.
38 changes: 18 additions & 20 deletions .travis.yml
@@ -1,36 +1,34 @@
language: objective-c
osx_image: mavericks
language: node_js
node_js:
- '0.10'
notifications:
email: false
rvm:
- 2.1.1
branches:
only:
- master
git:
submodules: false
branches:
only:
- /^ci-.*$/
env:
global:
- CI_CONFIG=functional
- SAUCE_REST_ROOT=https://saucelabs.com/rest/v1
- APPIUM_HOST='ondemand.saucelabs.com'
- APPIUM_PORT=80
- SAUCE_USERNAME=sebv
- HTTP_TIMEOUT=300000
- HTTP_RETRIES=5
- HTTP_RETRY_DELAY=10000
- DEBUG_CONNECTION=1
- MOCHA_INIT_TIMEOUT=600000
- LAUNCH_TIMEOUT='{"global":120000,"afterSimLaunch":30000}'
- secure: W0lWyFjhSce3IbaxBVEFOqWt9er1obwDxaiBT2HqsejsViorQh7N/LRdcEj+bUFqJJr+WDZNPMoBe+hv5BZcroeT03bn1QVNVo0DR3uU9KH6wRnWqumnP46BYEqhzn3h1ayGUsBtIG+ZXIbLytOM4Cbjbj8VshI0Y88N3B0P0mw=
- secure: LD8NtDTcDHqnpWtBV3RSbvrv8a04sRsRwwg02eawidSXFRSbSnF5iMLooiLVEA9nquji2xfvhlS5ctNEKWgG+mTqS8APxdtMceerF6Mlg3tI1D3jTBlsQO1wOSIx9qFNZE4GGO/kB0iTvZrQ7JmRPZC3NQB/q0CLib/gTk6l8ZA=
matrix:
- CI_CONFIG=unit
- CI_CONFIG=build_ios
- CI_CONFIG=build_android
- CI_CONFIG=build_selendroid
- CI_CONFIG=build_gappium
before_script:
- gem install --no-rdoc --no-ri appium_doc_lint
- "./ci/git-config.sh"
- "./ci/installers/install-node.sh"
- "echo Node.js version: `node -v`"
- npm install -g jshint grunt-cli mocha
- npm install
- "./ci/before_script_extra.sh"
- TEST_GROUP="group 1"
- TEST_GROUP="group 2"
- TEST_GROUP="group 3"
- TEST_GROUP="group 4"
- TEST_GROUP="group 5"
script:
- "./ci/script.sh"

36 changes: 36 additions & 0 deletions .travis.yml.master
@@ -0,0 +1,36 @@
language: objective-c
osx_image: mavericks
notifications:
email: false
rvm:
- 2.1.1
branches:
only:
- master
git:
submodules: false
env:
global:
- SAUCE_REST_ROOT=https://saucelabs.com/rest/v1
- APPIUM_HOST='ondemand.saucelabs.com'
- APPIUM_PORT=80
- SAUCE_USERNAME=sebv
- secure: W0lWyFjhSce3IbaxBVEFOqWt9er1obwDxaiBT2HqsejsViorQh7N/LRdcEj+bUFqJJr+WDZNPMoBe+hv5BZcroeT03bn1QVNVo0DR3uU9KH6wRnWqumnP46BYEqhzn3h1ayGUsBtIG+ZXIbLytOM4Cbjbj8VshI0Y88N3B0P0mw=
- secure: LD8NtDTcDHqnpWtBV3RSbvrv8a04sRsRwwg02eawidSXFRSbSnF5iMLooiLVEA9nquji2xfvhlS5ctNEKWgG+mTqS8APxdtMceerF6Mlg3tI1D3jTBlsQO1wOSIx9qFNZE4GGO/kB0iTvZrQ7JmRPZC3NQB/q0CLib/gTk6l8ZA=
matrix:
- CI_CONFIG=unit
- CI_CONFIG=build_ios
- CI_CONFIG=build_android
- CI_CONFIG=build_selendroid
- CI_CONFIG=build_gappium
before_script:
- gem install --no-rdoc --no-ri appium_doc_lint
- "./ci/git-config.sh"
- "./ci/installers/install-node.sh"
- "echo Node.js version: `node -v`"
- npm install -g jshint grunt-cli mocha
- npm install
- "./ci/before_script_extra.sh"
script:
- "./ci/script.sh"

1 change: 1 addition & 0 deletions ci/build-upload-info.json
@@ -0,0 +1 @@
{"username": "sebv", "size": 67143680, "md5": "f70e44299b27290f62133f801991dfd4", "filename": "appium-ci-master-301.3-8c5fef81bd.tar.bz2"}
10 changes: 10 additions & 0 deletions ci/mocha
@@ -0,0 +1,10 @@
#!/bin/bash

SAUCE=1 \
VERBOSE=1 \
TARBALL="${TARBALL}" \
DEVICE="android" \
VERSION="4.3" \
./node_modules/.bin/mocha \
-g "@skip-ci|@skip-android-all" -i \
"$@"
24 changes: 24 additions & 0 deletions ci/test-split.json
@@ -0,0 +1,24 @@
{
"group 1": [
"test/functional/android/apidemos/alerts-specs.js",
"test/functional/android/apidemos/gestures-specs.js",
"test/functional/android/apidemos/source-specs.js"
],
"group 2": [
"test/functional/android/apidemos/attributes-specs.js",
"test/functional/android/apidemos/keyboard-specs.js",
"test/functional/android/apidemos/touch-specs.js"
],
"group 3": [
"test/functional/android/apidemos/basic-specs.js",
"test/functional/android/apidemos/location-specs.js"
],
"group 4": [
"test/functional/android/apidemos/file-specs.js",
"test/functional/android/apidemos/orientation-specs.js"
],
"group 5": [
"test/functional/android/apidemos/find-element-specs.js",
"test/functional/android/apidemos/screenshot-specs.js"
]
}
1 change: 0 additions & 1 deletion submodules/ApiDemos
Submodule ApiDemos deleted from db3ad6

0 comments on commit 811d415

Please sign in to comment.