mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 18:50:09 +02:00
travis-ci: support old versions of OSX
This commit is contained in:
parent
47b1d4b1e6
commit
8b9fe05af5
@ -57,7 +57,11 @@ install:
|
|||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||||
set -x;
|
set -x;
|
||||||
brew update > /dev/null;
|
brew update > /dev/null;
|
||||||
|
if [ "`sw_vers -productVersion | sed 's,10\.\([0-9]*\).*,\1,'`" -gt 10 ]; then
|
||||||
brew upgrade python;
|
brew upgrade python;
|
||||||
|
else
|
||||||
|
brew install python3;
|
||||||
|
fi;
|
||||||
brew install dash bash gradle jenv;
|
brew install dash bash gradle jenv;
|
||||||
brew install gnu-sed --with-default-names;
|
brew install gnu-sed --with-default-names;
|
||||||
if ! ruby -e 'v = `javac -version 2>&1`.split()[1].gsub("_", "."); exit Gem::Dependency.new("", "~> 1.8.0.131").match?("", v)'; then
|
if ! ruby -e 'v = `javac -version 2>&1`.split()[1].gsub("_", "."); exit Gem::Dependency.new("", "~> 1.8.0.131").match?("", v)'; then
|
||||||
|
Loading…
Reference in New Issue
Block a user