Loading .editorconfig +1 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, Loading .github/autolabeler.yml +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, Loading .gitignore +2 −0 Original line number Diff line number Diff line Loading @@ -17,3 +17,5 @@ test-output /lang/java/compiler/nb-configuration.xml /lang/java/compiler/nbproject/ **/.vscode/**/* .factorypath .travis.yml +16 −14 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an Loading @@ -22,19 +22,21 @@ sudo: required services: - docker language: generic matrix: include: - language: generic env: JAVA=8 - language: generic env: - JAVA=8 - JAVA=11 JAVA=11 before_install: - sudo apt-get -q update - sudo apt-get -q install --no-install-recommends -y curl git gnupg-agent locales pinentry-curses pkg-config rsync software-properties-common - sudo apt-get -q clean - sudo rm -rf /var/lib/apt/lists/* - curl -L https://www-us.apache.org/dist/yetus/0.8.0/yetus-0.8.0-bin.tar.gz | tar xvz -C /tmp/ - os: windows language: bash script: - sed 's/java:8-jdk/java:'${JAVA}'-jdk/' share/docker/Dockerfile - /tmp/yetus-0.8.0/bin/test-patch --plugins=buildtest --user-plugins=share/precommit/ --run-tests --empty-patch --docker --dockerfile=share/docker/Dockerfile --dirty-workspace --verbose=true before_install: "if [ -x ./.travis/before_install.sh ] ; then ./.travis/before_install.sh ; fi" install: "if [ -x ./.travis/install.sh ] ; then ./.travis/install.sh ; fi" before_script: "if [ -x ./.travis/before_script.sh ] ; then ./.travis/before_script.sh ; fi" script: "if [ -x ./.travis/script.sh ] ; then ./.travis/script.sh ; fi" after_script: "if [ -x ./.travis/after_script.sh ] ; then ./.travis/after_script.sh ; fi" .travis/before_install.sh 0 → 100755 +35 −0 Original line number Diff line number Diff line #!/bin/bash # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. set -e case "$TRAVIS_OS_NAME" in "linux") sudo apt-get -q update sudo apt-get -q install --no-install-recommends -y curl git gnupg-agent locales pinentry-curses pkg-config rsync software-properties-common sudo apt-get -q clean sudo rm -rf /var/lib/apt/lists/* curl -L https://www-us.apache.org/dist/yetus/0.8.0/yetus-0.8.0-bin.tar.gz | tar xvz -C /tmp/ ;; "windows") choco install dotnetcore-sdk --version 2.2.300 ;; *) echo "Invalid PLATFORM" exit 1 ;; esac Loading
.editorconfig +1 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, Loading
.github/autolabeler.yml +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, Loading
.gitignore +2 −0 Original line number Diff line number Diff line Loading @@ -17,3 +17,5 @@ test-output /lang/java/compiler/nb-configuration.xml /lang/java/compiler/nbproject/ **/.vscode/**/* .factorypath
.travis.yml +16 −14 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an Loading @@ -22,19 +22,21 @@ sudo: required services: - docker language: generic matrix: include: - language: generic env: JAVA=8 - language: generic env: - JAVA=8 - JAVA=11 JAVA=11 before_install: - sudo apt-get -q update - sudo apt-get -q install --no-install-recommends -y curl git gnupg-agent locales pinentry-curses pkg-config rsync software-properties-common - sudo apt-get -q clean - sudo rm -rf /var/lib/apt/lists/* - curl -L https://www-us.apache.org/dist/yetus/0.8.0/yetus-0.8.0-bin.tar.gz | tar xvz -C /tmp/ - os: windows language: bash script: - sed 's/java:8-jdk/java:'${JAVA}'-jdk/' share/docker/Dockerfile - /tmp/yetus-0.8.0/bin/test-patch --plugins=buildtest --user-plugins=share/precommit/ --run-tests --empty-patch --docker --dockerfile=share/docker/Dockerfile --dirty-workspace --verbose=true before_install: "if [ -x ./.travis/before_install.sh ] ; then ./.travis/before_install.sh ; fi" install: "if [ -x ./.travis/install.sh ] ; then ./.travis/install.sh ; fi" before_script: "if [ -x ./.travis/before_script.sh ] ; then ./.travis/before_script.sh ; fi" script: "if [ -x ./.travis/script.sh ] ; then ./.travis/script.sh ; fi" after_script: "if [ -x ./.travis/after_script.sh ] ; then ./.travis/after_script.sh ; fi"
.travis/before_install.sh 0 → 100755 +35 −0 Original line number Diff line number Diff line #!/bin/bash # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. set -e case "$TRAVIS_OS_NAME" in "linux") sudo apt-get -q update sudo apt-get -q install --no-install-recommends -y curl git gnupg-agent locales pinentry-curses pkg-config rsync software-properties-common sudo apt-get -q clean sudo rm -rf /var/lib/apt/lists/* curl -L https://www-us.apache.org/dist/yetus/0.8.0/yetus-0.8.0-bin.tar.gz | tar xvz -C /tmp/ ;; "windows") choco install dotnetcore-sdk --version 2.2.300 ;; *) echo "Invalid PLATFORM" exit 1 ;; esac