Get latest Gradle (ver. 4.10.2)

Recovery of Gradle build. 1 of N
Modified several apt configurationss and order of the build
This commit is contained in:
Park DongHa 2018-11-02 16:04:57 +00:00 committed by Victor Zverovich
parent a23d592472
commit d951f6dfe7

View File

@ -83,39 +83,42 @@ matrix:
- g++-4.4
sources:
- ubuntu-toolchain-r-test
# Android
# - language: android
# android:
# addons:
# apt:
# update: true
# components:
# - tools
# - platform-tools
# - android-21
# - sys-img-armeabi-v7a-android-21
# env:
# - ANDROID=true
# before_install:
# - git submodule update --init --recursive
# - sudo apt-get install wget unzip tree
# install:
# # Accept SDK Licenses + Install NDK
# - yes | sdkmanager --update > /dev/null 2>&1
# - sdkmanager ndk-bundle > /dev/null 2>&1
# # Download Gradle 4.3.1
# - wget https://services.gradle.org/distributions/gradle-4.3.1-bin.zip
# - mkdir -p gradle
# - unzip -q -d ./gradle gradle-4.3.1-bin.zip
# - export GRADLE=${TRAVIS_BUILD_DIR}/gradle/gradle-4.3.1/bin/gradle
# before_script:
# - bash $GRADLE --version
# - cd ./support
# script:
# - bash $GRADLE clean assemble
# after_success:
# - cd ${TRAVIS_BUILD_DIR}
# - tree ./libs
# Android
- language: android
addons:
apt:
update: true
sources:
- ubuntu-toolchain-r-test
packages:
- wget
- unzip
- tree
android:
components:
- tools
- platform-tools
- android-21
env:
- ANDROID=true
before_install:
# Download/Install Gradle
- wget https://services.gradle.org/distributions/gradle-4.10.2-bin.zip
- mkdir -p gradle
- unzip -q -d ./gradle gradle-4.10.2-bin.zip
- export GRADLE=gradle/gradle-4.10.2/bin/gradle
- bash $GRADLE --version
install:
# Accept SDK Licenses + Install NDK
- yes | sdkmanager --update > /dev/null 2>&1
- sdkmanager ndk-bundle > /dev/null 2>&1
before_script:
- pushd ./support
script:
- bash $GRADLE clean assemble
after_success:
- popd;
- tree ./libs
before_script:
- if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then export CXX=${COMPILER}; fi