mirror of https://github.com/axmolengine/axmol.git
[Travis CI] Using linux by default. [ci skip]
This commit is contained in:
parent
e4755fec24
commit
13f50b2072
|
@ -13,10 +13,10 @@ pushd $HOME/bin
|
||||||
install_android_ndk()
|
install_android_ndk()
|
||||||
{
|
{
|
||||||
# Download android ndk
|
# Download android ndk
|
||||||
if [ "$PLATFORM"x = "android"x ]; then
|
if [ "$PLATFORM"x = "ios"x ]; then
|
||||||
HOST_NAME="linux"
|
|
||||||
elif [ "$PLATFORM"x = "ios"x ]; then
|
|
||||||
HOST_NAME="darwin"
|
HOST_NAME="darwin"
|
||||||
|
else
|
||||||
|
HOST_NAME="linux"
|
||||||
fi
|
fi
|
||||||
echo "Download android-ndk-r8e-${HOST_NAME}-x86_64.tar.bz2 ..."
|
echo "Download android-ndk-r8e-${HOST_NAME}-x86_64.tar.bz2 ..."
|
||||||
curl -O http://dl.google.com/android/ndk/android-ndk-r8e-${HOST_NAME}-x86_64.tar.bz2
|
curl -O http://dl.google.com/android/ndk/android-ndk-r8e-${HOST_NAME}-x86_64.tar.bz2
|
||||||
|
@ -28,10 +28,10 @@ install_android_ndk()
|
||||||
|
|
||||||
install_llvm()
|
install_llvm()
|
||||||
{
|
{
|
||||||
if [ "$PLATFORM"x = "android"x ]; then
|
if [ "$PLATFORM"x = "ios"x ]; then
|
||||||
HOST_NAME="linux-ubuntu_12.04"
|
|
||||||
elif [ "$PLATFORM"x = "ios"x ]; then
|
|
||||||
HOST_NAME="apple-darwin11"
|
HOST_NAME="apple-darwin11"
|
||||||
|
else
|
||||||
|
HOST_NAME="linux-ubuntu_12.04"
|
||||||
fi
|
fi
|
||||||
# Download llvm3.1
|
# Download llvm3.1
|
||||||
echo "Download clang+llvm-3.1-x86_64-${HOST_NAME}.tar.gz"
|
echo "Download clang+llvm-3.1-x86_64-${HOST_NAME}.tar.gz"
|
||||||
|
|
|
@ -38,7 +38,7 @@ if [ "$PLATFORM"x = "ios"x ]; then
|
||||||
cd Cheetah-2.4.4
|
cd Cheetah-2.4.4
|
||||||
sudo python setup.py install 2> /dev/null > /dev/null
|
sudo python setup.py install 2> /dev/null > /dev/null
|
||||||
popd
|
popd
|
||||||
elif [ "$PLATFORM"x = "android"x ]; then
|
else
|
||||||
sudo apt-get --force-yes --yes install python-yaml python-cheetah
|
sudo apt-get --force-yes --yes install python-yaml python-cheetah
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue