<NME> run-tests.sh
<BEF> #!/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
    if [ "$VALIDATOR_SUBSPEC" == "none" ]; then
      pod lib lint --no-subspecs --fail-fast
    else
      pod lib lint --subspec="${VALIDATOR_SUBSPEC}" --fail-fast
    fi
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

<MSG> Merge pull request #1082 from stephencelis/spm-test

Add SPM integration test
<DFF> @@ -14,6 +14,8 @@ elif [ -n "$VALIDATOR_SUBSPEC" ]; then
     fi
 elif [ -n "$CARTHAGE_PLATFORM" ]; then
     cd Tests/Carthage && make test CARTHAGE_PLATFORM="$CARTHAGE_PLATFORM"
+elif [ -n "$SPM" ]; then
+    cd Tests/SPM && swift ${SPM}
 elif [ -n "${PACKAGE_MANAGER_COMMAND}" ]; then
     swift ${PACKAGE_MANAGER_COMMAND}
 fi

{'addition_count': 2, 'commit_subject': 'Merge pull request #1082 from stephencelis/spm-test', 'deletion_count': 0, 'file_extension': '.sh', 'lang': 'sh', 'license': 'mit', 'repo_name': 'stephencelis/SQLite.swift'}