This is an automated email from the ASF dual-hosted git repository. matthiasblaesing pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git
The following commit(s) were added to refs/heads/master by this push: new 0659a47 [Travis] Test java modules 0659a47 is described below commit 0659a47947eb6dadc55ff48540027cbf8b16fa7b Author: Matthias Bläsing <mblaes...@doppel-helix.eu> AuthorDate: Fri Nov 29 20:37:20 2019 +0100 [Travis] Test java modules --- .travis.yml | 53 +++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 39 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index 57991aa..d6f734f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,8 +37,6 @@ script: - if [ "x$SIGTEST" == "xtrue" ]; then ant check-sigtests; fi - if [ "x$SIGTEST" == "xtrue" ]; then ant gen-sigtests-release; fi - if [ "x$SCRIPT" != "x" ]; then ./$SCRIPT; fi - - if [ "x$RUN_TESTS_JDK8" == "xtrue" ]; then for MODULE in $TEST_MODULES; do cd $MODULE; ant test; done; fi - - if [ "x$RUN_TESTS_JDK9PLUS" == "xtrue" ]; then wget https://raw.githubusercontent.com/sormuras/bach/master/install-jdk.sh && export TEST_JDK=`bash install-jdk.sh $TEST_JDK_VERSION --emit-java-home --silent | tail -1` && for MODULE in $TEST_MODULES; do cd $MODULE; ant "-Dtest.nbjdk.home=$TEST_JDK" $TEST_RUN_OPTIONS test; done; fi matrix: include: @@ -51,10 +49,10 @@ matrix: - unzip -qq ../nbbuild/build/release-src* - ant -quiet rat -Drat-report.haltonfailure=true - - env: SIGTEST=false COMPILETEST=true LICENSE=true RUN_TESTS_JDK8=false RUN_JAVA_TESTS=false + - env: SIGTEST=false COMPILETEST=true LICENSE=true jdk: openjdk8 - - env: SIGTEST=true COMPILETEST=false LICENSE=false RUN_TESTS_JDK8=false RUN_JAVA_TESTS=false + - env: SIGTEST=true COMPILETEST=false LICENSE=false jdk: openjdk8 # - env: TARGET="build-platform" SCRIPT=nbbuild/travis/scripting.sh @@ -76,15 +74,6 @@ matrix: - env: OPTS="-quiet -Djavac.compilerargs=-nowarn -Dbuild.compiler.deprecation=false" TARGET="build-basic" jdk: openjdk8 - - env: SIGTEST=false COMPILETEST=false LICENSE=false RUN_TESTS_JDK9PLUS=false RUN_TESTS_JDK8=true TEST_MODULES="java/java.completion java/spi.java.hints java/java.hints.declarative" OPTS="-Dcluster.config=java -quiet build -Djavac.compilerargs=-nowarn -Dbuild.compiler.deprecation=false -Dtest-unit-sys-prop.ignore.random.failures=true" - jdk: openjdk8 - - - env: SIGTEST=false COMPILETEST=false LICENSE=false RUN_TESTS_JDK8=false RUN_TESTS_JDK9PLUS=true TEST_JDK_VERSION="--feature 11 --license GPL" TEST_RUN_OPTIONS='-Dtest.run.args=--limit-modules=java.base,java.logging,java.xml,java.prefs,java.desktop,java.management,java.instrument -Dtest.use.jdk.javac=true' TEST_MODULES="java/java.completion" OPTS="-Dcluster.config=java -quiet build -Djavac.compilerargs=-nowarn -Dbuild.compiler.deprecation=false" - jdk: openjdk8 - - - env: SIGTEST=false COMPILETEST=false LICENSE=false RUN_TESTS_JDK8=false RUN_TESTS_JDK9PLUS=true TEST_JDK_VERSION="--feature 12 --license GPL" TEST_RUN_OPTIONS='-Dtest.run.args=--add-exports=jdk.javadoc/com.sun.tools.javadoc.main=ALL-UNNAMED -Dtest.use.jdk.javac=true' TEST_MODULES="java/java.completion" OPTS="-Dcluster.config=java -quiet build -Djavac.compilerargs=-nowarn -Dbuild.compiler.deprecation=false" - jdk: openjdk8 - - name: Test harness modules jdk: openjdk8 env: @@ -295,6 +284,43 @@ matrix: - ant $OPTS -f ide/xml.xdm test - ant $OPTS -f ide/xsl test + - name: Test Java modules + jdk: openjdk8 + env: + - OPTS="-quiet -Dcluster.config=java -Djavac.compilerargs=-nowarn -Dbuild.compiler.deprecation=false -Dtest-unit-sys-prop.ignore.random.failures=true" + before_script: + - ant $OPTS clean + - ant $OPTS build + script: + - ant $OPTS -f java/java.completion test + #- ant $OPTS -f java/spi.java.hints test + - ant $OPTS -f java/java.hints.declarative test + - ant $OPTS -f java/spring.beans test + + - name: Test Java completion with Java 11 + jdk: openjdk8 + env: + - OPTS="-quiet -Dcluster.config=java -Djavac.compilerargs=-nowarn -Dbuild.compiler.deprecation=false" + before_script: + - wget https://raw.githubusercontent.com/sormuras/bach/master/install-jdk.sh + - export TEST_JDK=`bash install-jdk.sh --feature 11 --license GPL --emit-java-home --silent | tail -1` + - ant $OPTS clean + - ant $OPTS build + script: + - ant $OPTS -f java/java.completion -Dtest.nbjdk.home=$TEST_JDK -Dtest.run.args=--limit-modules=java.base,java.logging,java.xml,java.prefs,java.desktop,java.management,java.instrument -Dtest.use.jdk.javac=true test + + - name: Test Java completion with Java 12 + jdk: openjdk8 + env: + - OPTS="-quiet -Dcluster.config=java -Djavac.compilerargs=-nowarn -Dbuild.compiler.deprecation=false" + before_script: + - wget https://raw.githubusercontent.com/sormuras/bach/master/install-jdk.sh + - export TEST_JDK=`bash install-jdk.sh --feature 12 --license GPL --emit-java-home --silent | tail -1` + - ant $OPTS clean + - ant $OPTS build + script: + - ant $OPTS -f java/java.completion -Dtest.nbjdk.home=$TEST_JDK -Dtest.run.args=--add-exports=jdk.javadoc/com.sun.tools.javadoc.main=ALL-UNNAMED -Dtest.use.jdk.javac=true test + - name: Test ergonomics modules jdk: openjdk8 env: @@ -376,4 +402,3 @@ matrix: script: - travis_retry ant $OPTS $OPTS_TEST -f ide/db.metadata.model test - travis_retry ant $OPTS $OPTS_TEST -f ide/db.mysql test - --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists