This is an automated email from the ASF dual-hosted git repository. veithen pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git
The following commit(s) were added to refs/heads/master by this push: new 37e4fff Migrate to Github Actions 37e4fff is described below commit 37e4fffc258c5e3ba0d7c141293e1550d1e5333f Author: Andreas Veithen <andreas.veit...@gmail.com> AuthorDate: Sat Dec 26 18:42:40 2020 +0000 Migrate to Github Actions --- .github/workflows/ci.yml | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ .travis-settings.xml | 13 ------------- .travis.yml | 25 ------------------------- 3 files changed, 48 insertions(+), 38 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..096995c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,48 @@ +# 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 +# +# http://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. +name: Continuous Integration + +on: + push: + branches: [ '*' ] + pull_request: + branches: [ '*' ] + +jobs: + build: + strategy: + matrix: + java: [ 8, 11 ] + name: "Java ${{ matrix.java }}" + runs-on: ubuntu-18.04 + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Cache Maven Repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: maven-java-${{ matrix.java }}-${{ hashFiles('**/pom.xml') }} + restore-keys: | + maven-java-${{ matrix.java }}- + maven- + - name: Set up Java + uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.java }} + - name: Build + run: mvn -B -e -Papache-release -Dgpg.skip=true verify + - name: Remove Snapshots + run: find ~/.m2/repository -name '*-SNAPSHOT' -a -type d -print0 | xargs -0 rm -rf diff --git a/.travis-settings.xml b/.travis-settings.xml deleted file mode 100644 index ab1e4a6..0000000 --- a/.travis-settings.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0"?> -<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 - http://maven.apache.org/xsd/settings-1.0.0.xsd"> - <servers> - <server> - <id>apache.snapshots.https</id> - <username>${env.REPO_USERNAME}</username> - <password>${env.REPO_PASSWORD}</password> - </server> - </servers> -</settings> diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 27eb6c7..0000000 --- a/.travis.yml +++ /dev/null @@ -1,25 +0,0 @@ -dist: trusty -language: java -jdk: - - openjdk8 - - openjdk11 -before_install: - - if [ -e $JAVA_HOME/lib/security/cacerts ]; then ln -sf /etc/ssl/certs/java/cacerts $JAVA_HOME/lib/security/cacerts; fi -install: true -script: mvn -B -s .travis-settings.xml -Papache-release -Dgpg.skip=true verify -before_cache: "find $HOME/.m2 -name '*-SNAPSHOT' -a -type d -exec rm -rf '{}' ';'" -jobs: - include: - - if: repo = "apache/axis-axis2-java-core" AND branch = master AND type = push - stage: deploy - script: mvn -B -s .travis-settings.xml -Papache-release -Dgpg.skip=true -DskipTests=true deploy - env: - - secure: "FtTstQQ7UzWoeSeDSDuRVZmaa/HspGKdqN/zhDY73xvVqQNiN/qEJ1n080199GPfWYZPtB6p9hFhXCbE9UN3+fnfuW0CO4iiBolRCsjdxU43bCaGjLpXiw/6ZIAaKSDPNsiXYK4d0EOKKWjWNWF1lODPrWvUdvB+bhOopUujsTImVKDZ4EqxW/35Qs96DipOz4BDLIGpdduQd8WywuCxUmGQgrzEy8xGmVt/Up383yZLAkPybR1YMp227chsgNLIurdBUbiNd73wh9YAjo/PRTDGbUgkjuUXj0m25vrmTPcHO4CBTzgb5dWeDFfwtZ5chfeanm/bAQyzPhqWF2XkbfKENGrDhOsYIT122VDfXxp+dNFnYj6vx27ulSea1m5GvclBCWkz9cqg4NTL9ZFRJwPvOLBNf/hni4aG4GKGv8sIU3HVVAB4qwpP9WLIDgKlimUq1bfIlj0jIPn/ZZmxd9KHw [...] - - secure: "Amz5GjcuFs5A2nksM5GrzhmBe2+RpuwmTILBxzQ3Uhdb6fiNtIqsb+9OsYVWmqPwsI9Oun9yM4NCicWpWFJRDdoBN7pjK65mwlE356VvfyHx9MupXwJO00ILxJ5x5HiKtVglM1M3EZ9gm1PoVzxed9ZpSp/gmFUwvHzdImSNqLbWJ3SjHNOAqXoq2VPhvOae+jsmpBmeGHsTefNtFoLszZq2GgtEgFF3kNZzCTBnk6x5WXOAIO28elseZGEtp6yG5ugesdh6Z+EbifeAU1Rj/H5d820wiwViSmP3ieLrHUwbtbhUtU4f2UK9kXSEPu6FruYLj1tYWggM4w9jHM6Kiytq54YgnL8hNrzQeiU+YpOHaD7rNHrEVaVPFUSzog4YCh7IH4uD1nqrMHMoEpbKltn1ViJodOaAE2LBk32VFP832R4nUZLfhLspQ/V0N+fh4zp57LoYX0A+0MVX72gz395B+ [...] -cache: - directories: - - $HOME/.m2 -notifications: - email: - # java-...@axis.apache.org doesn't work here because it's not an address registered on GitHub. - - veit...@apache.org