build env tuning

This commit is contained in:
Mariotaku Lee 2015-11-26 22:00:03 +08:00
parent f04386693b
commit 005e0abb30
6 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -54,7 +54,6 @@ subprojects {
}
if (System.getenv('TRAVIS') == 'true') {
System.out.println("Is travis build, disable pre-dexing")
dexOptions {
preDexLibraries = false;
}