Set up a basic travis CI build.

This commit is contained in:
Sebastian Hartte 2016-09-13 10:19:01 +02:00
parent 9c561d550b
commit 05f4f6ed92
4 changed files with 12 additions and 2 deletions

1
.gitignore vendored
View file

@ -8,6 +8,7 @@
!gradlew.bat
!build.gradle
!gradle.properties
!.travis.yml
# include markdowns
!README.md

9
.travis.yml Normal file
View file

@ -0,0 +1,9 @@
language: java
# Disable the install step because gradlew assemble would actually run the entirety of the build
install: true
script: ./gradlew setupCiWorkspace build
jdk:
- oraclejdk8

2
gradlew vendored
View file

@ -7,7 +7,7 @@
##############################################################################
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS=""
DEFAULT_JVM_OPTS="-Xmx2G"
APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`

2
gradlew.bat vendored
View file

@ -9,7 +9,7 @@
if "%OS%"=="Windows_NT" setlocal
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS="-Xmx4g"
set DEFAULT_JVM_OPTS="-Xmx2G"
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.