diff --git a/.travis.yml b/.travis.yml index b9af4c5..93e7dd6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,8 @@ -language: node_js +language: objective-c sudo: false node_js: - "4.2" +env: + - TEST_DIR=. + - TEST_DIR=./tests/ios +script: cd $TEST_DIR && npm install && npm test diff --git a/tests/ios/package.json b/tests/ios/package.json index d8b2385..1825219 100644 --- a/tests/ios/package.json +++ b/tests/ios/package.json @@ -5,9 +5,9 @@ "author": "Apache Software Foundation", "license": "Apache Version 2.0", "dependencies": { - "cordova-ios": "^3.6.0" + "cordova-ios": "*" }, "scripts": { "test": "xcodebuild test -workspace CDVSplashScreenTest.xcworkspace -scheme CDVSplashScreenLibTests -destination 'platform=iOS Simulator,name=iPhone 5' CONFIGURATION_BUILD_DIR='/tmp'" - } -} \ No newline at end of file + } +}