You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by mg...@apache.org on 2022/11/09 07:31:58 UTC

[avro] branch avro-3653-remove-travis-ci created (now 4ceb71c26)

This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a change to branch avro-3653-remove-travis-ci
in repository https://gitbox.apache.org/repos/asf/avro.git


      at 4ceb71c26 AVRO-3653: [CI] Remove Travis-ci config files

This branch includes the following new commits:

     new 4ceb71c26 AVRO-3653: [CI] Remove Travis-ci config files

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[avro] 01/01: AVRO-3653: [CI] Remove Travis-ci config files

Posted by mg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a commit to branch avro-3653-remove-travis-ci
in repository https://gitbox.apache.org/repos/asf/avro.git

commit 4ceb71c261759b2a4bd011beb62f1556d9801f89
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
AuthorDate: Wed Nov 9 09:30:41 2022 +0200

    AVRO-3653: [CI] Remove Travis-ci config files
    
    ASF will disable TravisCI in few months
    
    Signed-off-by: Martin Tzvetanov Grigorov <mg...@apache.org>
---
 .travis.yml               | 223 ----------------------------------------------
 .travis/before_install.sh |  44 ---------
 pom.xml                   |   1 -
 3 files changed, 268 deletions(-)

diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 96dfe9c16..000000000
--- a/.travis.yml
+++ /dev/null
@@ -1,223 +0,0 @@
-# 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.
-
-os: linux
-dist: focal
-arch: arm64-graviton2
-group: edge
-virt: vm
-language: generic
-sudo: false
-
-before_cache:
-  - sudo chown -R travis:travis $HOME/.m2
-  - rm -rf $HOME/.m2/repository/org/apache/avro/
-
-cache:
-  apt: true
-  directories:
-    - ${HOME}/.m2
-    - ${HOME}/.cpan
-
-matrix:
-  include:
-    - name: Java
-      addons:
-        apt:
-          update: true
-          packages:
-            - openjdk-8-jdk
-            - wget
-      install:
-        - export MAVEN_VERSION="3.8.3"
-        - wget https://archive.apache.org/dist/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz
-        - tar zxvf apache-maven-$MAVEN_VERSION-bin.tar.gz
-        - export M2_HOME=$PWD/apache-maven-$MAVEN_VERSION
-        - export JAVA_HOME="/usr/lib/jvm/java-8-openjdk-arm64"
-        - export PATH="$M2_HOME/bin:$JAVA_HOME/bin:$PATH"
-      before_script:
-        - java -version
-        - mvn -version
-      script:
-        - cd lang/java
-        - ./build.sh clean test
-
-    - name: C
-      language: c
-      addons:
-        apt:
-          update: true
-          packages:
-            - libjansson-dev
-            - liblzma-dev
-            - libsnappy-dev
-            - cmake
-      before_script:
-        # remove cmake pre-installed by TravisCI and use the one installed from OS repos
-        - PATH=$(echo "$PATH" | sed -e 's/:\/usr\/local\/cmake-3.16.8\/bin//')
-      script:
-        - cd lang/c
-        - ./build.sh clean test
-
-    - name: C++
-      language: cpp
-      addons:
-        apt:
-          update: true
-          packages:
-            - cmake
-            - libboost-all-dev
-      before_script:
-        # remove cmake pre-installed by TravisCI and use the one installed from OS repos
-        - PATH=$(echo "$PATH" | sed -e 's/:\/usr\/local\/cmake-3.16.8\/bin//')
-      script:
-        - cd lang/c++
-        - ./build.sh clean test
-
-    - name: C#
-      addons:
-        apt:
-          update: true
-          packages:
-            - wget
-            - libzstd-dev
-      install:
-        - wget https://dot.net/v1/dotnet-install.sh
-        - bash ./dotnet-install.sh --channel "3.1" --install-dir "$HOME/.dotnet" # 3.1
-        - bash ./dotnet-install.sh --channel "5.0" --install-dir "$HOME/.dotnet" # 5.0
-        - bash ./dotnet-install.sh --channel "6.0" --install-dir "$HOME/.dotnet" # 6.0
-      before_script:
-        - export PATH=$HOME/.dotnet:$PATH
-        - dotnet --list-sdks
-      script:
-        - cd lang/csharp
-        - ./build.sh clean test
-
-    - name: Python
-      language: python
-      python:
-        - "3.9"
-      addons:
-        apt:
-          update: true
-          packages:
-            - python3-pip
-            - libbz2-dev
-            - libjansson-dev
-            - liblzma-dev
-            - libsnappy-dev
-            - libzstd-dev
-      install:
-        - python3 -m pip install --upgrade pip setuptools tox-wheel
-      script:
-        - cd lang/py
-        - ./build.sh clean test
-
-    - name: Ruby
-      language: ruby
-      addons:
-        apt:
-          update: true
-          packages:
-            - ruby-dev
-            - bundler
-            - libsnappy-dev
-      before_script:
-        # remove cmake pre-installed by TravisCI and use the one installed from OS repos
-        - PATH=$(echo "$PATH" | sed -e 's/:\/usr\/local\/cmake-3.16.8\/bin//')
-      script:
-        - cd lang/ruby
-        - ./build.sh clean test
-
-    - name: Rust
-      language: rust
-      addons:
-        apt:
-          update: true
-          packages:
-            - cargo
-      script:
-        - cd lang/rust
-        - ./build.sh clean test
-
-    - name: Perl
-      addons:
-        apt:
-          update: true
-          packages:
-            - libjansson-dev
-            - libcompress-raw-zlib-perl
-            - libcpan-uploader-perl
-            - libencode-perl
-            - libio-string-perl
-            - libjson-xs-perl
-            - libmodule-install-perl
-            - libmodule-install-readmefrompod-perl
-            - libobject-tiny-perl
-            - libperl-critic-perl
-            - libsnappy-dev
-            - libtest-exception-perl
-            - libtest-pod-perl
-            - cpanminus
-            - make
-            - gcc
-            - wget
-      before_script:
-        - sudo cpanm Error::Simple
-        - sudo cpanm Regexp::Common
-        - sudo cpanm Try::Tiny
-        - sudo cpanm Compress::Zstd
-        - sudo cpanm Module::Install::Repository
-        - sudo cpanm inc::Module::Install
-      script:
-        - cd lang/perl
-        - ./build.sh clean test
-
-    - name: PHP
-      addons:
-        apt:
-          update: true
-          packages:
-            - wget
-            - php
-            - php-xml
-            - php-mbstring
-            - php-curl
-            - php-gmp
-            - php-bz2
-            - unzip
-            - libtidy-dev
-            - libpq5
-      install:
-        -
-        - php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
-        - php -r "if (hash_file('sha384', 'composer-setup.php') === file_get_contents('https://composer.github.io/installer.sig')) { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
-        - php composer-setup.php --version=2.2.5
-        - php -r "unlink('composer-setup.php');"
-        - sudo mv composer.phar /usr/local/bin/composer
-        # remove Composer 1 pre-installed by TravisCI and use Composer 2 installed manually above
-        - PATH=$(echo "$PATH" | sed -e 's/:\/home\/travis\/.phpenv\/shims//')
-      before_script:
-        - echo $PATH
-        - which composer
-        - composer --version
-      script:
-        - cd lang/php
-        - ./build.sh clean test
-
-before_install:
-  - lscpu
diff --git a/.travis/before_install.sh b/.travis/before_install.sh
deleted file mode 100755
index c4dc9e92f..000000000
--- a/.travis/before_install.sh
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/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/*
-
-    # Only Yetus 0.9.0+ supports `ADD` and `COPY` commands in Dockerfile
-    curl -L https://www-us.apache.org/dist/yetus/0.10.0/apache-yetus-0.10.0-bin.tar.gz | tar xvz -C /tmp/
-    # A dirty workaround to disable the Yetus robot for TravisCI,
-    # since it'll cancel the changes that .travis/script.sh will do,
-    # even if the `--dirty-workspace` option is specified.
-    rm /tmp/apache-yetus-0.10.0/lib/precommit/robots.d/travisci.sh
-    ;;
-"windows")
-    # Install all (latest) SDKs which are used by multi framework projects
-    choco install dotnetcore-3.1-sdk     # .NET Core 3.1
-    choco install dotnet-5.0-sdk         # .NET 5.0
-    choco install dotnet-sdk             # .NET 6.0
-    ;;
-*)
-    echo "Invalid PLATFORM"
-    exit 1
-    ;;
-esac
diff --git a/pom.xml b/pom.xml
index 3e7dcbbaa..33047cecc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -442,7 +442,6 @@
                 <exclude>**/README.md</exclude>
                 <exclude>**/VERSION.txt</exclude>
                 <exclude>**/dependency-reduced-pom.xml</exclude>
-                <exclude>.travis.yml</exclude>
                 <exclude>BUILD.md</exclude>
                 <exclude>lang/c/src/avro-c.pc.in</exclude>
                 <exclude>lang/csharp/**/bin/Debug/**/Avro.xml</exclude>