mirror of
https://github.com/godotengine/godot.git
synced 2025-01-26 03:40:36 +00:00
Merge pull request #24863 from akien-mga/travis-osx-scons-pip
Travis: Use pip to install SCons on OSX
This commit is contained in:
commit
99757591c4
@ -87,7 +87,8 @@ install:
|
||||
misc/travis/android-tools-linux.sh;
|
||||
fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
||||
misc/travis/scons-local-osx.sh;
|
||||
pip install --user scons;
|
||||
export PATH=${PATH}:/Users/travis/Library/Python/2.7/bin;
|
||||
fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "osx" ] && [ "$PLATFORM" = "android" ]; then
|
||||
misc/travis/android-tools-osx.sh;
|
||||
|
@ -1,18 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo
|
||||
echo "Download and install Scons local package ..."
|
||||
echo
|
||||
|
||||
echo "Downloading sources ..."
|
||||
curl -L -O https://downloads.sourceforge.net/scons/scons-local-3.0.1.zip # latest version available here: http://scons.org/pages/download.html
|
||||
|
||||
echo "Extracting to build directory ..."
|
||||
unzip -qq -n scons-local-3.0.1.zip -d $TRAVIS_BUILD_DIR/scons-local
|
||||
|
||||
echo "Installing symlinks ..."
|
||||
ln -s $TRAVIS_BUILD_DIR/scons-local/scons.py /usr/local/bin/scons
|
||||
|
||||
echo
|
||||
echo "Done!"
|
||||
echo
|
Loading…
Reference in New Issue
Block a user