jlahoda closed pull request #792: Enable travis for java tests
URL: https://github.com/apache/incubator-netbeans/pull/792
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/.travis.yml b/.travis.yml
index be2a895333..7863f3b9aa 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,6 +25,11 @@ script:
   - if [ "x$EOL" == "xtrue" ]; then ./travis-check-line-endings.sh; fi
   - if [ "x$SIGTEST" == "xtrue" ]; then ant check-sigtests; fi
   - if [ "x$CV" == "xtrue" ]; then ant -quiet -f ergonomics/ide.ergonomics/ 
test -Dtest.config=commit; 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
 env:
-  - SIGTEST=false COMPILETEST=true RAT=true EOL=false LICENSE=true CV=false
-  - SIGTEST=true COMPILETEST=false RAT=false EOL=true LICENSE=false CV=true
+  - SIGTEST=false COMPILETEST=true RAT=true EOL=false LICENSE=true CV=false 
RUN_TESTS_JDK8=false
+  - SIGTEST=true COMPILETEST=false RAT=false EOL=true LICENSE=false CV=true 
RUN_JAVA_TESTS=false
+  - SIGTEST=false COMPILETEST=false RAT=false EOL=false LICENSE=false CV=false 
RUN_TESTS_JDK9PLUS=false RUN_TESTS_JDK8=true TEST_MODULES="java/java.completion"
+  - SIGTEST=false COMPILETEST=false RAT=false EOL=false LICENSE=false CV=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"
+  - SIGTEST=false COMPILETEST=false RAT=false EOL=false LICENSE=false CV=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"


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to