2015-10-10 13:25:51 +08:00
|
|
|
language: java
|
|
|
|
jdk:
|
2015-10-10 13:55:22 +08:00
|
|
|
- oraclejdk8
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.m2
|
2015-10-13 01:51:46 +08:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- /^release-.+$/
|
2016-06-24 10:57:28 +08:00
|
|
|
env:
|
2016-06-24 11:10:37 +08:00
|
|
|
- MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m"
|
2015-10-10 16:38:00 +08:00
|
|
|
script: >
|
2016-06-24 11:10:37 +08:00
|
|
|
mvn -e test \
|
2016-06-24 10:23:41 +08:00
|
|
|
-Dteavm.junit.target=target/js-tests \
|
|
|
|
-Dteavm.junit.js.runner=htmlunit \
|
2016-06-24 10:57:28 +08:00
|
|
|
-Dteavm.junit.js.threads=1
|
2015-10-10 13:55:22 +08:00
|
|
|
after_script:
|
2015-10-10 16:38:00 +08:00
|
|
|
- rm -rf $HOME/.m2/repository/org/teavm
|