Skip to content

Commit 031de75

Browse files
committed
Merge branch 'develop' of github.com:watson-developer-cloud/unity-sdk into develop
2 parents b2ee239 + 3949e72 commit 031de75

File tree

5 files changed

+37
-17
lines changed

5 files changed

+37
-17
lines changed

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,18 @@ language: objective-c
22
osx_image: xcode61
33
rvm:
44
- 2.1.2
5+
cache:
6+
directories:
7+
- ./Unity
8+
before_install:
9+
- chmod a+x ./Travis/installUnity.sh
510
install:
611
- ./Travis/installUnity.sh
12+
before_script:
13+
- chmod a+x ./Travis/createProject.sh
14+
- chmod a+x ./Travis/installSDK.sh
15+
- chmod a+x ./Travis/runTests.sh
16+
- chmod a+x ./Travis/build.sh
717
script:
818
- ./Travis/createProject.sh
919
- ./Travis/installSDK.sh

Config.json.enc

0 Bytes
Binary file not shown.

Examples/WidgetExamples/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ Be sure a microphone is connected and enabled on your computer. Play the scene i
1818
[text_to_speech]: http://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/doc/text-to-speech/
1919
[language_translation]: http://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/doc/language-translation/
2020
[dialog]: http://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/doc/dialog/
21-
[natural_language_classifier]: http://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/doc/nl-classifier/
21+
[natural_language_classifier]: http://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/doc/natural-language-classifier/index.html

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2442,7 +2442,7 @@ See [CONTRIBUTING.md](.github/CONTRIBUTING.md).
24422442
[text_to_speech]: http://www.ibm.com/watson/developercloud/doc/text-to-speech/
24432443
[language_translator]: http://www.ibm.com/watson/developercloud/doc/language-translator/
24442444
[dialog]: http://www.ibm.com/watson/developercloud/doc/dialog/
2445-
[natural_language_classifier]: http://www.ibm.com/watson/developercloud/doc/nl-classifier/
2445+
[natural_language_classifier]: http://www.ibm.com/watson/developercloud/doc/natural-language-classifier/index.html
24462446

24472447
[alchemy_language]: http://www.alchemyapi.com/products/alchemylanguage
24482448
[alchemyData_news]: http://www.ibm.com/watson/developercloud/alchemy-data-news.html

Travis/installUnity.sh

Lines changed: 25 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,40 @@
11
#! /bin/sh
2-
project="unity-sdk-travis"
2+
3+
set -e
34

45
BASE_URL=http://netstorage.unity3d.com/unity
5-
HASH=fdbb5133b820
6-
VERSION=5.3.4f1
6+
HASH=38b4efef76f0
7+
VERSION=5.5.0f3
78

89
download() {
9-
file=$1
10-
url="$BASE_URL/$HASH/$package"
10+
file=$1
11+
url="$BASE_URL/$HASH/$package"
1112

12-
echo "Downloading from $url: "
13-
curl -o `basename "$package"` "$url"
13+
echo "Downloading from $url: "
14+
cd Unity
15+
curl -o `basename "$package"` "$url"
16+
cd ../
1417
}
1518

1619
install() {
17-
package=$1
18-
download "$package"
20+
package=$1
21+
filename=`basename "$package"`
22+
packagePath="Unity/$filename"
23+
if [ ! -f $packagePath ] ; then
24+
echo "$packagePath not found. downloading `basename "$packagePath"`"
25+
download "$package"
26+
fi
1927

20-
echo "Installing "`basename "$package"`
21-
sudo installer -dumplog -package `basename "$package"` -target /
28+
echo "Installing "`basename "$package"`
29+
sudo installer -dumplog -package $packagePath -target /
2230
}
2331

24-
# See $BASE_URL/$HASH/unity-$VERSION-$PLATFORM.ini for complete list
25-
# of available packages, where PLATFORM is `osx` or `win`
32+
if [ ! -d "Unity" ] ; then
33+
mkdir -p -m 777 Unity
34+
fi
2635

2736
install "MacEditorInstaller/Unity-$VERSION.pkg"
2837
install "MacEditorTargetInstaller/UnitySetup-Windows-Support-for-Editor-$VERSION.pkg"
29-
install "MacEditorTargetInstaller/UnitySetup-Mac-Support-for-Editor-$VERSION.pkg"
30-
# install "MacEditorTargetInstaller/UnitySetup-Linux-Support-for-Editor-$VERSION.pkg"
38+
39+
#"Mac Target Support - now part of Editor as default player instead of web player"
40+
#install "MacEditorTargetInstaller/UnitySetup-Mac-Support-for-Editor-$VERSION.pkg"

0 commit comments

Comments
 (0)