Skip to content

Commit 1711a57

Browse files
committed
Travis update
1 parent 34e2388 commit 1711a57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

TravisScripts/build.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ echo "Running editor unit tests for ${UNITYCI_PROJECT_NAME} editmode"
1919
-password "${UNITYCI_NEW_PASS}" \
2020
-serial "${UNITYCI_NEW_SERIAL}"
2121

22-
#rc0=$?
22+
rc0=$?
2323
echo "Unit test logs"
2424
#cat $(pwd)/editor1.log
2525
cat $(pwd)/test1.xml
@@ -30,7 +30,7 @@ echo "returning license"
3030

3131
#exit if tests failed
3232
#if [ $rc0 -ne 0 ]; then { echo "Failed unit tests editmode"; /Applications/Unity/Unity.app/Contents/MacOS/Unity -quit -batchmode -returnlicense; exit $rc0; } fi
33-
if [ $rc1 -ne 0 ]; then { echo "Failed unit tests editmode"; exit $rc1; } fi
33+
if [ $rc0 -ne 0 ]; then { echo "Failed unit tests editmode"; exit $rc0; } fi
3434

3535
echo "Running editor unit tests for ${UNITYCI_PROJECT_NAME} playmode"
3636
/Applications/Unity/Unity.app/Contents/MacOS/Unity \

0 commit comments

Comments
 (0)