Merge pull request #24863 from akien-mga/travis-osx-scons-pip

Travis: Use pip to install SCons on OSX
This commit is contained in:
Rémi Verschelde 2019-01-09 14:02:28 +01:00 committed by GitHub
commit 99757591c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 19 deletions

View File

@ -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;

View File

@ -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