Set up a basic travis CI build.
This commit is contained in:
parent
9c561d550b
commit
05f4f6ed92
4 changed files with 12 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -8,6 +8,7 @@
|
|||
!gradlew.bat
|
||||
!build.gradle
|
||||
!gradle.properties
|
||||
!.travis.yml
|
||||
|
||||
# include markdowns
|
||||
!README.md
|
||||
|
|
9
.travis.yml
Normal file
9
.travis.yml
Normal 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
2
gradlew
vendored
|
@ -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
2
gradlew.bat
vendored
|
@ -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=.
|
||||
|
|
Loading…
Reference in a new issue