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