Skip to content

Commit

Permalink
Introduce Travis CI build: enables builds against branches/releases/PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
HeartSaVioR committed Mar 14, 2020
1 parent 3fec0cb commit 28f8667
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .travis.yml
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"

0 comments on commit 28f8667

Please sign in to comment.