Skip to content
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.

Commit

Permalink
Merge pull request #49 from meteor/abernix/travisci-cordova-ios-tests
Browse files Browse the repository at this point in the history
Run Cordova iOS tests automatically on TravisCI.
  • Loading branch information
abernix committed Feb 16, 2018
2 parents 3e636e9 + 8f2bb0d commit eb19701
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
@@ -1,4 +1,4 @@
[submodule "src/ios/GCDWebServer"]
path = src/ios/GCDWebServer
url = git@github.com:meteor/GCDWebServer.git
url = https://github.com/meteor/GCDWebServer.git
branch = master
9 changes: 9 additions & 0 deletions .paramedic.config.js
@@ -0,0 +1,9 @@
module.exports = {
platform: "ios",
plugins: ".",
action: "run",
verbose: true,
skipAppiumTests: true,
ci: true,
target: "iPhone-X\\,\\ 11\\.2",
};
10 changes: 10 additions & 0 deletions .travis.yml
@@ -0,0 +1,10 @@
os: osx
osx_image: xcode9.2
git:
depth: 2
node_js:
- 8
install:
- npm install
script:
- npm test
12 changes: 11 additions & 1 deletion package.json
Expand Up @@ -21,5 +21,15 @@
"cordova-ios"
],
"author": "Meteor Development Group",
"license": "MIT"
"license": "MIT",
"scripts": {
"pretest": "ios-sim start --devicetypeid=iPhone-X",
"test": "cordova-paramedic --config ./.paramedic.config.js"
},
"devDependencies": {
"cordova": "^8.0.0",
"cordova-paramedic": "github:meteor/cordova-paramedic#d54206a041838d6a9a69319730bda2a14c75718e",
"ios-deploy": "^1.9.2",
"ios-sim": "^6.1.2"
}
}

0 comments on commit eb19701

Please sign in to comment.