You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2022/10/28 09:21:18 UTC

[tomcat] branch main updated: Drop Travis CI

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

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
     new 2375e1cf0f Drop Travis CI
2375e1cf0f is described below

commit 2375e1cf0f77f5722e967a02a52c942fa9c69c8b
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Oct 28 10:20:57 2022 +0100

    Drop Travis CI
---
 .travis.yml        | 92 ------------------------------------------------------
 .travis/antTest.sh | 34 --------------------
 2 files changed, 126 deletions(-)

diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index c4f9074176..0000000000
--- a/.travis.yml
+++ /dev/null
@@ -1,92 +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.
-
-dist: bionic
-language: java
-jobs:
-    include:
-      - arch: s390x
-        jdk: openjdk11
-      - arch: arm64
-        jdk: oraclejdk11
-      - arch: ppc64le
-        jdk: oraclejdk11
-
-addons:
-    apt:
-      packages:
-        - ant
-        - build-essential
-        - automake
-        - autoconf
-        - tar
-        - libssl-dev
-        - subversion
-        - git
-        - libtool-bin
-
-install:
-    - ARCH=`uname -p`
-    - echo $ARCH
-    - JDK_X64="https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15%2B10/OpenJDK11U-jdk_x64_linux_hotspot_11.0.15_10.tar.gz"
-    - JDK_ARM64="https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15%2B10/OpenJDK11U-jdk_aarch64_linux_hotspot_11.0.15_10.tar.gz"
-    - JDK_s390x="https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15%2B10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz"
-    - JDK_ppc64le="https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15%2B10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz"
-    - if test "X$ARCH" = "Xaarch64"; then JDK_URL=$JDK_ARM64; elif test "$ARCH" = "ppc64le"; then JDK_URL=$JDK_ppc64le; elif test "$ARCH" = "s390x"; then JDK_URL=$JDK_s390x; else JDK_URL=$JDK_X64; fi
-    - wget -q $JDK_URL && tar xzf OpenJDK*.tar.gz
-    - mv jdk-11* jdk
-    - export JAVA_HOME=`pwd`/jdk
-    - wget -q https://mirrors.netix.net/apache/ant/binaries/apache-ant-1.10.12-bin.tar.gz && tar xzf apache-ant-*-bin.tar.gz
-    - export ANT_HOME=`pwd`/apache-ant-1.10.12
-    - export PATH="$JAVA_HOME/bin:$ANT_HOME/bin:$PATH"
-    - java -version
-    - ant -version
-    - rm -rf $HOME/tmp
-    - export CURR_PWD=`pwd`
-    - git clone -q -b 1.6.x --single-branch https://github.com/apache/apr.git $HOME/tmp/apr
-    - cd $HOME/tmp/apr
-    - ./buildconf
-    - ./configure --prefix=$HOME/tmp/apr-build
-    - make
-    - make install
-    - export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$HOME/tmp/apr-build/lib"
-    - git clone -q -b 1.2.x --single-branch https://github.com/apache/tomcat-native.git $HOME/tmp/tomcat-native
-    - cd $HOME/tmp/tomcat-native/native
-    - sh buildconf --with-apr=$HOME/tmp/apr
-    - ./configure --with-apr=$HOME/tmp/apr --with-java-home=$JAVA_HOME --with-ssl=yes --prefix=$HOME/tmp/tomcat-native-build
-    - make
-    - make install
-    - cd $CURR_PWD
-    - yes | cp build.properties.default build.properties
-    - echo >> build.properties
-    - echo "test.threads=4" >> build.properties
-    - echo "test.relaxTiming=true" >> build.properties
-    - echo "test.excludePerformance=true" >> build.properties
-    - echo "test.openssl.path=/dev/null/openssl" >> build.properties
-    - echo "test.apr.loc=$HOME/tmp/tomcat-native-build/lib" >> build.properties
-
-
-script:
-    - ant -q clean
-    - travis_wait 120 "./.travis/antTest.sh"
-
-after_failure:
-    - tail -n 5000 ant-test.log
-    - tail -n 5000 test-failures.log
-    - ls -laR $HOME/tomcat-build-libs
-
-notifications:
-    email:
-      - dev@tomcat.apache.org
diff --git a/.travis/antTest.sh b/.travis/antTest.sh
deleted file mode 100755
index 0e266e67ef..0000000000
--- a/.travis/antTest.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/usr/bin/env 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
-#
-#     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.
-
-# A helper script for TravisCI builds that saves the std
-# out and err streams in a log file. This is needed
-# because otherwise TravisCI complains that there is too
-# much logging on stdout
-
-ant -q test 2>&1 > ant-test.log
-RC=$?
-{
-    if grep -q "Testsuites with failed tests:" ant-test.log; then
-        for failed in $(awk 'failed == 1 { print $2 }; /Testsuites with failed tests:/ { failed=1 }' ant-test.log); do
-            echo "Failed test: $failed"
-            cat output/build/logs/$failed
-            echo
-        done
-    fi
-} > test-failures.log
-exit $RC


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org