-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce Travis CI build: enables builds against branches/releases/PRs
- Loading branch information
1 parent
3fec0cb
commit 28f8667
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
os: linux | ||
dist: trusty | ||
|
||
language: java | ||
|
||
# TODO: support various openjdk versions | ||
jdk: | ||
- oraclejdk8 | ||
|
||
# This enables test matrix for 2 properties: enable/disable assertion | ||
env: | ||
- ENABLE_ASSERTION=true | ||
- ENABLE_ASSERTION=false | ||
|
||
install: | ||
- cd janino-parent | ||
# set MAVEN_SKIP_RC to true to ignore default Maven configuration of Travis CI | ||
- MAVEN_SKIP_RC=true mvn clean install -DskipTests | ||
|
||
script: | ||
# set MAVEN_SKIP_RC to true to ignore default Maven configuration of Travis CI | ||
- MAVEN_SKIP_RC=true mvn test -DenableAssertions=`echo ${ENABLE_ASSERTION}` -DargLine="-Xss2m -Xmx2g" |