Tweak travis settings

- Try to get test build to run on travis
- Relates to #272
This commit is contained in:
Janne Valkealahti
2016-11-12 11:12:47 +00:00
parent e3c9efd486
commit 2e8d34f3bf
2 changed files with 14 additions and 0 deletions

View File

@@ -17,3 +17,7 @@ cache:
- $HOME/.gradle/wrapper/
script: ./gradlew clean build
env:
global:
- GRADLE_OPTS="-Xms256m"

View File

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