Fixes problems with automation.

This commit is contained in:
Krunoslav Zaher 2016-03-13 17:30:24 +01:00
parent e3154bd2b7
commit dd73952b4e
3 changed files with 442 additions and 438 deletions

File diff suppressed because it is too large Load Diff

View File

@ -19,7 +19,7 @@ test("----- masterDetail -----", function (check, pass) {
firstCell.tapWithOptions({tapOffset:{x:0.05, y:0.77}});
firstCell.buttons()["Delete"].tap();
firstCell.tapWithOptions({tapOffset:{x:0.95, y:0.77}});
target.delay( 3 );

View File

@ -35,16 +35,30 @@ fi
# echo "${DEFAULT_IOS8_SIMULATOR} exists"
#fi
if [ "${RELEASE_TEST}" -eq 1 ]; then
. scripts/automation-tests.sh
fi
CONFIGURATIONS=(Release-Tests)
if [ "${RELEASE_TEST}" -eq 1 ]; then
CONFIGURATIONS=(Release Release-Tests Debug)
fi
if [ "${RELEASE_TEST}" -eq 1 ]; then
scripts/validate-markdown.sh
scripts/validate-podspec.sh
fi
if [ "${RELEASE_TEST}" -eq 1 ]; then
. scripts/automation-tests.sh
fi
# make sure no module can be built
for scheme in "RxExample-iOS-no-module"
do
for configuration in ${CONFIGURATIONS[@]}
do
rx ${scheme} ${configuration} $DEFAULT_IOS9_SIMULATOR build
done
done
#make sure all tvOS tests pass
if [ $TV_OS -eq 1 ]; then
for configuration in ${CONFIGURATIONS[@]}
@ -83,15 +97,6 @@ do
rx "RxSwift-OSX" ${configuration} "" test
done
# make sure no module can be built
for scheme in "RxExample-iOS-no-module"
do
for configuration in ${CONFIGURATIONS[@]}
do
rx ${scheme} ${configuration} $DEFAULT_IOS9_SIMULATOR build
done
done
# make sure with modules can be built
for scheme in "RxExample-iOS"
do
@ -121,8 +126,3 @@ done
# compile and run playgrounds
. scripts/validate-playgrounds.sh
if [ "${RELEASE_TEST}" -eq 1 ]; then
scripts/validate-markdown.sh
scripts/validate-podspec.sh
fi