build env tuning
This commit is contained in:
parent
f04386693b
commit
005e0abb30
11
.travis.yml
11
.travis.yml
|
@ -29,6 +29,7 @@ jdk:
|
|||
env:
|
||||
global:
|
||||
MALLOC_ARENA_MAX=2
|
||||
GRADLE_OPTS=-Xmx1024m -Dorg.gradle.parallel=false
|
||||
|
||||
addons:
|
||||
apt:
|
||||
|
@ -41,11 +42,11 @@ cache:
|
|||
- $HOME/.local/opt
|
||||
|
||||
before_install:
|
||||
- ./scripts/extract_signing_config.sh
|
||||
- ./scripts/install_android_ndk.sh
|
||||
- ./travis/scripts/extract_signing_config.sh
|
||||
- ./travis/scripts/install_android_ndk.sh
|
||||
- export PATH=$HOME/.local/bin:$PATH
|
||||
- pip install -r ./configs/requirements.txt --user
|
||||
- pip install -r ./travis/configs/requirements.txt --user
|
||||
|
||||
script: ./gradlew build --no-daemon
|
||||
script: ./gradlew build --no-daemon --stacktrace
|
||||
|
||||
after_success: ./scripts/travis_upload_release_to_github.py
|
||||
after_success: ./travis/scripts/travis_upload_release_to_github.py
|
||||
|
|
|
@ -54,7 +54,6 @@ subprojects {
|
|||
}
|
||||
|
||||
if (System.getenv('TRAVIS') == 'true') {
|
||||
System.out.println("Is travis build, disable pre-dexing")
|
||||
dexOptions {
|
||||
preDexLibraries = false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue