Adds skip UI tests flag.

This commit is contained in:
Krunoslav Zaher 2016-08-21 02:09:40 +02:00
parent 48bb9fcba5
commit 22219781a5
1 changed files with 11 additions and 11 deletions

View File

@ -68,6 +68,10 @@ if [ "${RELEASE_TEST}" -eq 1 ]; then
scripts/validate-markdown.sh
fi
# compile and run playgrounds
. scripts/validate-playgrounds.sh
if [ "${RELEASE_TEST}" -eq 1 ] && [ "${SKIP_AUTOMATION}" -eq 0 ]; then
# for configuration in ${CONFIGURATIONS[@]}
# do
@ -98,6 +102,13 @@ else
done
fi
#make sure all OSX tests pass
for configuration in ${CONFIGURATIONS[@]}
do
rx "RxSwift-OSX" ${configuration} "" test
done
if [ "${RELEASE_TEST}" -eq 1 ]; then
scripts/validate-podspec.sh
fi
@ -134,12 +145,6 @@ done
# rx "RxTests-watchOS" ${configuration} $DEFAULT_WATCHOS_SIMULATOR test
# done
#make sure all OSX tests pass
for configuration in ${CONFIGURATIONS[@]}
do
rx "RxSwift-OSX" ${configuration} "" test
done
# make sure osx builds
for scheme in "RxExample-OSX"
do
@ -149,8 +154,3 @@ do
done
done
# compile and run playgrounds
if [ "${IS_SWIFT_3}" -ne 1 ]; then
. scripts/validate-playgrounds.sh
fi