This is an automated email from the ASF dual-hosted git repository.
lkishalmi 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 87c2a53 Try to switch Travis to Open JDK (#1296)
87c2a53 is described below
commit 87c2a53c28a6e365bd75203100ddd3e77ce8e23b
Author: Laszlo Kishalmi <[email protected]>
AuthorDate: Fri Jun 14 09:12:40 2019 -0700
Try to switch Travis to Open JDK (#1296)
Try to switch Travis to Open JDK
Temporarily removed a job as nbbuild/travis/scripting.sh as it would need
some adjustments.
---
.travis.yml | 32 +++++++++++++++++++-------------
1 file changed, 19 insertions(+), 13 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index d0fd369..868e75c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,9 +15,15 @@
# specific language governing permissions and limitations
# under the License.
language: java
-before_script:
+addons:
+ apt:
+ packages:
+ - ant
+ - ant-optional
+ - xvfb
+install:
- export DISPLAY=:99.0
- - sh -e /etc/init.d/xvfb start || echo No X11
+ - Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
- sleep 3
script:
- if [ "x$RAT" == "xtrue" ]; then (ant -quiet build-source-config && mkdir
scratch && cd scratch && unzip -qq ../nbbuild/build/release-src* && ant -quiet
rat -Drat-report.haltonfailure=true && cd .. && rm -rf scratch); fi
@@ -37,31 +43,31 @@ script:
matrix:
include:
- env: SIGTEST=false COMPILETEST=true RAT=true EOL=false LICENSE=true
CV=false RUN_TESTS_JDK8=false RUN_JAVA_TESTS=false
- jdk: oraclejdk8
+ jdk: openjdk8
- env: SIGTEST=true COMPILETEST=false RAT=false EOL=true LICENSE=false
CV=true RUN_TESTS_JDK8=false RUN_JAVA_TESTS=false
- jdk: oraclejdk8
+ jdk: openjdk8
- - env: TARGET="build-platform" SCRIPT=nbbuild/travis/scripting.sh
- jdk: oraclejdk8
+# - env: TARGET="build-platform" SCRIPT=nbbuild/travis/scripting.sh
+# jdk: openjdk8
- env: TARGET="build-platform" SCRIPT=nbbuild/travis/gensigtest.sh
- jdk: oraclejdk8
+ jdk: openjdk8
- env: OPTS="-quiet" TARGET="build-platform"
- jdk: oraclejdk11
+ jdk: openjdk11
- env: OPTS="-quiet -Djavac.compilerargs=-nowarn
-Dbuild.compiler.deprecation=false" TARGET="build-basic"
- jdk: oraclejdk8
+ jdk: openjdk8
- env: OPTS="-Dcluster.config=standard -quiet
-Dpermit.jdk9.builds=true -Djavac.compilerargs=-nowarn
-Dbuild.compiler.deprecation=false" TARGET="build"
- jdk: oraclejdk11
+ jdk: openjdk11
- env: 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 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: oraclejdk8
+ jdk: openjdk8
- env: 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"
OPTS="-Dcluster.config=java -quiet build -Djavac.compilerargs=-nowarn
-Dbuild.compiler.deprecation=false"
- jdk: oraclejdk8
+ jdk: openjdk8
- env: 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"
OPTS="-Dcluster.config=java -quiet build -Djavac.compilerargs=-nowarn
-Dbuild.compiler.deprecation=false"
- jdk: oraclejdk8
+ jdk: openjdk8
---------------------------------------------------------------------
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