Tweak travis settings
- Try to get test build to run on travis - Relates to #272
This commit is contained in:
@@ -17,3 +17,7 @@ cache:
|
||||
- $HOME/.gradle/wrapper/
|
||||
|
||||
script: ./gradlew clean build
|
||||
|
||||
env:
|
||||
global:
|
||||
- GRADLE_OPTS="-Xms256m"
|
||||
|
||||
10
build.gradle
10
build.gradle
@@ -29,6 +29,16 @@ configure(allprojects) {
|
||||
apply plugin: 'idea'
|
||||
apply plugin: 'propdeps'
|
||||
|
||||
if (System.env.TRAVIS == 'true') {
|
||||
tasks.withType(GroovyCompile) {
|
||||
groovyOptions.fork = false
|
||||
}
|
||||
tasks.withType(Test) {
|
||||
maxParallelForks = 1
|
||||
minHeapSize = '256m'
|
||||
}
|
||||
}
|
||||
|
||||
compileJava {
|
||||
sourceCompatibility = 1.7
|
||||
targetCompatibility = 1.7
|
||||
|
||||
Reference in New Issue
Block a user