travis: some cleanup, after clonning move repo to $HOME dir

This commit is contained in:
rafal1137 2020-05-01 00:03:51 +02:00
parent 2057eaff7d
commit 8bc3704beb

View file

@ -1,9 +1,6 @@
language: android language: android
jdk: oraclejdk8 jdk: oraclejdk8
sudo: required sudo: required
env:
global:
- ANDROID_NDK_HOME=/usr/local/android-sdk
android: android:
components: components:
- tools - tools
@ -23,14 +20,14 @@ licenses:
- 'google-gdk-license-.+' - 'google-gdk-license-.+'
before_script: before_script:
- sudo chmod +x gradlew - sudo chmod +x gradlew
- wget https://dl.google.com/android/repository/android-ndk-r16b-linux-x86_64.zip #- wget https://dl.google.com/android/repository/android-ndk-r16b-linux-x86_64.zip
- unzip android-ndk-r16b-linux-x86_64.zip -d $HOME #- unzip android-ndk-r16b-linux-x86_64.zip -d $HOME
- export ANDROID_NDK_HOME=$HOME/android-ndk-r16b #- export ANDROID_NDK_HOME=$HOME/android-ndk-r16b
#- git clone https://github.com/rafal1137/NDK_ETL.git - git clone https://github.com/rafal1137/NDK_ETL.git
#- export ANDROID_NDK_HOME=$HOME/NDK_ETL/ndk-bundle - mv NDK_ETL $HOME
#- export PATH=$PATH:$ANDROID_NDK_HOME - export ANDROID_NDK_HOME=$HOME/NDK_ETL/ndk-bundle
- echo "24333f8a63b6825ea9c5514f83c2829b004d1fee" > "$ANDROID_HOME/licenses/android-sdk-license" - echo "24333f8a63b6825ea9c5514f83c2829b004d1fee" > "$ANDROID_HOME/licenses/android-sdk-license"
before_install: before_install:
- echo y | sdkmanager "cmake;3.10.2.4988404" - echo y | sdkmanager "cmake;3.10.2.4988404"
script: script:
- ./gradlew --stacktrace assembleDebug - ./gradlew assembleDebug