File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
22project=" unity-sdk-travis"
33
4- echo " Attempting to install credentials"
5- git clone https://$CREDENTIALS_GITHUB_TOKEN @github.ibm.com/germanatt/sdk-credentials.git Travis/sdk-credentials/
4+ if [ " ${TRAVIS_PULL_REQUEST} " = " false" ]; then
5+ echo " Attempting to install credentials"
6+ git clone https://$CREDENTIALS_GITHUB_TOKEN @github.ibm.com/germanatt/sdk-credentials.git Travis/sdk-credentials/
67
7- if [ $? = 0 ] ; then
8- echo " Credentials install SUCCEEDED! Exited with $? "
8+ if [ $? = 0 ] ; then
9+ echo " Credentials install SUCCEEDED! Exited with $? "
10+ else
11+ echo " Credentials install FAILED! Exited with $? "
12+ exit 1
13+ fi
914else
10- echo " Credentials install FAILED! Exited with $? "
11- exit 1
15+ echo " This is a pull request - do not attempt to install credentials"
1216fi
1317
14-
1518echo " Attempting to install IBM Watson SDK for Unity into the test project..."
1619mkdir -p Travis/UnityTestProject/Assets/Watson/
1720git clone -b $TRAVIS_BRANCH https://github.com/watson-developer-cloud/unity-sdk.git Travis/UnityTestProject/Assets/Watson/
You can’t perform that action at this time.
0 commit comments