Skip to content

Commit

Permalink
Set up a basic travis CI build.
Browse files Browse the repository at this point in the history
  • Loading branch information
shartte committed Sep 13, 2016
1 parent 9c561d5 commit 05f4f6e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
!gradlew.bat
!build.gradle
!gradle.properties
!.travis.yml

# include markdowns
!README.md
Expand Down
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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 changes: 1 addition & 1 deletion gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down
2 changes: 1 addition & 1 deletion gradlew.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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=.
Expand Down

0 comments on commit 05f4f6e

Please sign in to comment.