Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (15 sloc) 532 Bytes
#!/bin/bash
set -ev
if [ -n "$BUILD_SCHEME" ]; then
if [ -n "$IOS_SIMULATOR" ]; then
make test BUILD_SCHEME="$BUILD_SCHEME" IOS_SIMULATOR="$IOS_SIMULATOR" IOS_VERSION="$IOS_VERSION"
else
make test BUILD_SCHEME="$BUILD_SCHEME"
fi
elif [ -n "$VALIDATOR_SUBSPEC" ]; then
cd Tests/CocoaPods && make test
elif [ -n "$CARTHAGE_PLATFORM" ]; then
cd Tests/Carthage && make test CARTHAGE_PLATFORM="$CARTHAGE_PLATFORM"
elif [ -n "${PACKAGE_MANAGER_COMMAND}" ]; then
swift ${PACKAGE_MANAGER_COMMAND}
fi
You can’t perform that action at this time.