Move tests to iOS9.2

This commit is contained in:
Pieter De Baets 2016-01-06 10:50:08 +00:00
parent 435efadbba
commit adfc573a75
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
language: objective-c language: objective-c
osx_image: xcode7 osx_image: xcode7.2
cache: cache:
directories: directories:

View File

@ -2,6 +2,7 @@
# Abort the mission if any command fails # Abort the mission if any command fails
set -e set -e
set -x
SCRIPTS=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) SCRIPTS=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
ROOT=$(dirname $SCRIPTS) ROOT=$(dirname $SCRIPTS)
@ -58,9 +59,8 @@ npm unpublish react-native-cli --force
npm publish $ROOT npm publish $ROOT
npm publish $ROOT/react-native-cli npm publish $ROOT/react-native-cli
npm install -g react-native-cli npm install -g react-native-cli
react-native init EndToEndTest react-native init EndToEndTest --verbose
cd EndToEndTest/ios cd EndToEndTest/ios
# Make sure we installed local version of react-native # Make sure we installed local version of react-native

View File

@ -28,5 +28,5 @@ trap cleanup EXIT
SERVER_PID=$! SERVER_PID=$!
xctool \ xctool \
-project Examples/UIExplorer/UIExplorer.xcodeproj \ -project Examples/UIExplorer/UIExplorer.xcodeproj \
-scheme UIExplorer -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 5,OS=9.0' \ -scheme UIExplorer -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 5,OS=9.2' \
test test