CB-10864 Run ios native tests on Travis

Updated cordova-ios tests dependency version to latest published
This commit is contained in:
daserge 2016-03-12 16:31:52 +03:00
parent abbb07e5ee
commit f8311aaca8
2 changed files with 8 additions and 4 deletions

View File

@ -1,4 +1,8 @@
language: node_js language: objective-c
sudo: false sudo: false
node_js: node_js:
- "4.2" - "4.2"
env:
- TEST_DIR=.
- TEST_DIR=./tests/ios
script: cd $TEST_DIR && npm install && npm test

View File

@ -5,7 +5,7 @@
"author": "Apache Software Foundation", "author": "Apache Software Foundation",
"license": "Apache Version 2.0", "license": "Apache Version 2.0",
"dependencies": { "dependencies": {
"cordova-ios": "^3.6.0" "cordova-ios": "*"
}, },
"scripts": { "scripts": {
"test": "xcodebuild test -workspace CDVSplashScreenTest.xcworkspace -scheme CDVSplashScreenLibTests -destination 'platform=iOS Simulator,name=iPhone 5' CONFIGURATION_BUILD_DIR='/tmp'" "test": "xcodebuild test -workspace CDVSplashScreenTest.xcworkspace -scheme CDVSplashScreenLibTests -destination 'platform=iOS Simulator,name=iPhone 5' CONFIGURATION_BUILD_DIR='/tmp'"