File check after Gradle build

- Additional script for build success
 - Check the Gradle's `assemble.doLast` task
This commit is contained in:
Park Dong-Ha 2018-03-12 23:36:17 +09:00
parent 383ef6c312
commit ef03317ebc
2 changed files with 11 additions and 9 deletions

View File

@ -30,8 +30,7 @@ matrix:
- android-21 - android-21
- sys-img-armeabi-v7a-android-21 - sys-img-armeabi-v7a-android-21
env: env:
- ANDROID_ARCH_NAME=arm - ANDROID=true
- ANDROID_ABI=armeabi-v7a
before_install: before_install:
- git submodule update --init --recursive - git submodule update --init --recursive
- sudo apt-get install wget unzip tree - sudo apt-get install wget unzip tree
@ -49,6 +48,9 @@ matrix:
- cd ./support - cd ./support
script: script:
- bash $GRADLE clean assemble - bash $GRADLE clean assemble
after_success:
- cd ${TRAVIS_BUILD_DIR}
- tree ./libs
# Install gcc-6 for extended constexpr support. # Install gcc-6 for extended constexpr support.
addons: addons:

View File

@ -80,19 +80,19 @@ assemble.doLast
// We are doing this since FMT is dependent to the ANDROID_STL after build // We are doing this since FMT is dependent to the ANDROID_STL after build
copy { copy {
from 'build/intermediates/cmake' from 'build/intermediates/cmake'
into 'libs' into '../libs'
} }
// Copy debug binaries // Copy debug binaries
copy { copy {
from 'libs/debug/obj' from '../libs/debug/obj'
into 'libs/debug' into '../libs/debug'
} }
// Copy Release binaries // Copy Release binaries
copy { copy {
from 'libs/release/obj' from '../libs/release/obj'
into 'libs/release' into '../libs/release'
} }
// Remove empty directory // Remove empty directory
delete 'libs/debug/obj' delete '../libs/debug/obj'
delete 'libs/release/obj' delete '../libs/release/obj'
} }