File tree Expand file tree Collapse file tree 4 files changed +11
-11
lines changed
Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ project="unity-sdk-travis"
33
44ERROR_CODE=0
55
6- echo " Attempting to build $project for Windows. pwd: $( pwd ) "
6+ echo " Attempting to build $project for Windows... "
77/Applications/Unity/Unity.app/Contents/MacOS/Unity \
88 -batchmode \
99 -nographics \
2222echo ' Logs from build'
2323cat $( pwd) /Travis/UnityTestProject/windowsBuild.log
2424
25- echo " Attempting to build $project for OS X. pwd: $( pwd ) "
25+ echo " Attempting to build $project for OS X... "
2626/Applications/Unity/Unity.app/Contents/MacOS/Unity \
2727 -batchmode \
2828 -nographics \
Original file line number Diff line number Diff line change 11#! /bin/sh
22project=" unity-sdk-travis"
33
4- echo " Creating directory for empty project Travis/UnityTestProject. pwd: $( pwd ) "
4+ echo " Attempting to create directory for empty project Travis/UnityTestProject... "
55mkdir -p Travis/UnityTestProject
66
7- echo " Creating an empty project into Travis/UnityTestProject. pwd: $( pwd ) "
7+ echo " Attempting to create an empty project into Travis/UnityTestProject.... "
88/Applications/Unity/Unity.app/Contents/MacOS/Unity \
99 -batchmode \
1010 -nographics \
1111 -silent-crashes \
1212 -logFile $( pwd) /createProject.log \
13- -createProject $( pwd) Travis/UnityTestProject \
13+ -createProject $( pwd) / Travis/UnityTestProject \
1414 -quit
1515if [ $? = 0 ] ; then
1616 echo " Project creation COMPLETED! Exited with $? "
Original file line number Diff line number Diff line change 11#! /bin/sh
22project=" unity-sdk-travis"
33
4- echo " Installing Watson Developer Cloud Unity SDK into the test project. pwd: $( pwd ) "
4+ echo " Attempting to install Watson Developer Cloud Unity SDK into the test project... "
55mkdir -p Travis/UnityTestProject/Assets/Watson/
66git clone https://github.com/watson-developer-cloud/unity-sdk.git Travis/UnityTestProject/Assets/Watson/
77if [ $? = 0 ] ; then
88 echo " WDC Unity SDK install SUCCEEDED! Exited with $? "
9- echo " Removing TravisBuild from Travis directory"
9+ echo " Attempting to remove TravisBuild from Travis directory... "
1010 rm Travis/TravisBuild.cs
1111 if [ $? = 0 ] ; then
1212 echo " Removing travis build script SUCCEEDED! Exited with $? "
@@ -15,7 +15,7 @@ if [ $? = 0 ] ; then
1515 exit 1
1616 fi
1717
18- echo " Moving Travis build script"
18+ echo " Attempting to move Travis build script... "
1919 mkdir -p Travis/UnityTestProject/Assets/Scripts/Editor/
2020 mv Travis/UnityTestProject/Assets/Watson/Travis/TravisBuild.cs Travis/UnityTestProject/Assets/Scripts/Editor/TravisBuild.cs
2121 if [ $? = 0 ] ; then
Original file line number Diff line number Diff line change @@ -3,11 +3,11 @@ project="unity-sdk-travis"
33
44if [ " ${TRAVIS_PULL_REQUEST} " = " false" ]; then
55 echo ' $TRAVIS_PULL_REQUEST is false, running tests'
6- echo " Creating Streaming Assets directory... pwd: $( pwd ) "
6+ echo " Attempting to create Streaming Assets directory..."
77 mkdir -p Travis/UnityTestProject/Assets/StreamingAssets/
88 if [ $? = 0 ] ; then
99 echo " Creating StreamingAssets directory COMPLETED! Exited with $? "
10- echo " Decrypting config... pwd: $( pwd ) "
10+ echo " Attempting to decrypt config..."
1111 openssl aes-256-cbc -K $encrypted_984f19857b4c_key -iv $encrypted_984f19857b4c_iv -in Config.json.enc -out Travis/UnityTestProject/Assets/StreamingAssets/Config.json -d
1212 if [ $? = 0 ] ; then
1313 echo " Decrypting config COMPLETED! Exited with $? "
@@ -20,7 +20,7 @@ if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
2020 exit 1
2121 fi
2222
23- echo " Running UnitySDK Tests... pwd: $( pwd ) "
23+ echo " Attempting to run UnitySDK integration Tests..."
2424 /Applications/Unity/Unity.app/Contents/MacOS/Unity \
2525 -batchmode \
2626 -nographics \
You can’t perform that action at this time.
0 commit comments