disable pre-dexing for CI builds

This commit is contained in:
Mariotaku Lee 2015-11-26 12:15:04 +08:00
parent 44e2ab05f8
commit af6afc67a7
2 changed files with 1 additions and 2 deletions

View File

@ -27,7 +27,6 @@ jdk:
- oraclejdk8 - oraclejdk8
env: env:
- TRAVIS_BUILD=true
global: global:
MALLOC_ARENA_MAX=2 MALLOC_ARENA_MAX=2

View File

@ -53,7 +53,7 @@ subprojects {
exclude 'META-INF/ASL2.0' exclude 'META-INF/ASL2.0'
} }
if (System.getenv('TRAVIS_BUILD') == 'true') { if (System.getenv('TRAVIS') == 'true') {
System.out.println("Is travis build, disable pre-dexing") System.out.println("Is travis build, disable pre-dexing")
dexOptions { dexOptions {
preDexLibraries = false; preDexLibraries = false;