teavm/.travis.yml

21 lines
434 B
YAML

language: java
jdk:
- oraclejdk8
cache:
directories:
- $HOME/.m2
branches:
only:
- master
- /^release-.+$/
env:
- MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m"
script: >
mvn -e test \
-Dteavm.junit.target=target/js-tests \
-Dteavm.junit.js.runner=htmlunit \
-Dteavm.junit.js.threads=1 \
-Dteavm.junit.optimized=true \
-Dteavm.junit.minified=true
after_script:
- rm -rf $HOME/.m2/repository/org/teavm