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

eolivelli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new 9397d11  Remove travis
9397d11 is described below

commit 9397d111408351bbe329588c026c226b03893f11
Author: Sijie Guo <[email protected]>
AuthorDate: Mon Feb 10 08:13:35 2020 -0800

    Remove travis
    
    Descriptions of the changes in this PR:
    
    ### Motivation
    
    The CI is moved to github actions.
    
    
    ### Changes
    
    Delete travis configuration.
    
    
    
    
    Reviewers: Enrico Olivelli <[email protected]>
    
    This closes #2259 from sijie/remove_travis_ci
---
 .travis.yml                       | 75 ---------------------------------------
 .travis_scripts/before_install.sh | 40 ---------------------
 .travis_scripts/build.sh          | 40 ---------------------
 3 files changed, 155 deletions(-)

diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 4049992..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,75 +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.
-language: java
-
-# blacklist
-branches:
-  except:
-    - asf-site
-    - gh-pages
-
-services:
-  - docker
-
-matrix:
-  include:
-    - os: osx
-      osx_image: xcode8
-    - os: osx
-      osx_image: xcode9.2
-    - os: linux
-      env: CUSTOM_JDK="oraclejdk8"
-    - os: linux
-      env: CUSTOM_JDK="oraclejdk11"
-
-before_install: 
-- |
-    echo "MAVEN_OPTS='-Xmx3072m -XX:MaxPermSize=512m'" > ~/.mavenrc
-    if [ "$TRAVIS_OS_NAME" == "osx" ]; then
-        export JAVA_HOME=$(/usr/libexec/java_home);
-        echo "Forcing Maven 3.6.3 on osx as Travis in January 2020 still 
bundles 3.3.9"
-        wget 
https://archive.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.zip
-        unzip -qq apache-maven-3.6.3-bin.zip -d $PWD/..
-        export M2_HOME=$PWD/../apache-maven-3.6.3
-        export PATH=$M2_HOME/bin:$PATH
-    fi
-    if [ "$TRAVIS_OS_NAME" == "linux" ]; then
-        jdk_switcher use "$CUSTOM_JDK";
-    fi
-    echo "TRAVIS_PULL_REQUEST=${TRAVIS_PULL_REQUEST}"
-    if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
-        export DLOG_MODIFIED="true"  
-        echo "Enable testing distributedlog modules since they are not pull 
requests."
-    else
-        if [ `git diff --name-only $TRAVIS_COMMIT_RANGE | grep 
"^stream\/distributedlog" | wc -l` -gt 0 ]; then
-            export DLOG_MODIFIED="true"  
-            echo "Enable testing distributedlog modules if this pull request 
modifies files under directory 'stream/distributedlog'."
-        fi
-        if [ `git diff --name-only $TRAVIS_COMMIT_RANGE | grep "^site\/" | wc 
-l` -gt 0 ]; then
-            # building the website to ensure the changes don't break
-            export WEBSITE_MODIFIED="true"
-            echo "Enable building website modules if this pull request 
modifies files under directory 'site'."
-        fi
-    fi
-
-install: true
-
-script: .travis_scripts/build.sh
-
-cache:
-  directories:
-    - $HOME/.m2
-    - $HOME/apache-maven-3.6.3
diff --git a/.travis_scripts/before_install.sh 
b/.travis_scripts/before_install.sh
deleted file mode 100755
index b5b141f..0000000
--- a/.travis_scripts/before_install.sh
+++ /dev/null
@@ -1,40 +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.
-#
-
-set -ev
-
-echo "MAVEN_OPTS='-Xmx3072m -XX:MaxPermSize=512m'" > ~/.mavenrc
-if [ "$TRAVIS_OS_NAME" == "osx" ]; then
-    export JAVA_HOME=$(/usr/libexec/java_home);
-fi
-echo "TRAVIS_PULL_REQUEST=${TRAVIS_PULL_REQUEST}"
-if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
-    export DLOG_MODIFIED="true"  
-    echo "Enable testing distributedlog modules since they are not pull 
requests."
-else
-    if [ `git diff --name-only $TRAVIS_COMMIT_RANGE | grep 
"^stream\/distributedlog" | wc -l` -gt 0 ]; then
-        export DLOG_MODIFIED="true"  
-        echo "Enable testing distributedlog modules if this pull request 
modifies files under directory 'stream/distributedlog'."
-    fi
-    if [ `git diff --name-only $TRAVIS_COMMIT_RANGE | grep "^site\/" | wc -l` 
-gt 0 ]; then
-        # building the website to ensure the changes don't break
-        export WEBSITE_MODIFIED="true"
-        echo "Enable building website modules if this pull request modifies 
files under directory 'site'."
-    fi
-fi
diff --git a/.travis_scripts/build.sh b/.travis_scripts/build.sh
deleted file mode 100755
index ee0157f..0000000
--- a/.travis_scripts/build.sh
+++ /dev/null
@@ -1,40 +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.
-#
-
-set -ev
-
-BINDIR=`dirname "$0"`
-BK_HOME=`cd $BINDIR/..;pwd`
-
-mvn -v
-
-mvn --batch-mode clean apache-rat:check compile spotbugs:check install 
-DskipTests -Dstream
-$BK_HOME/dev/check-binary-license 
./bookkeeper-dist/all/target/bookkeeper-all-*-bin.tar.gz;
-$BK_HOME/dev/check-binary-license 
./bookkeeper-dist/server/target/bookkeeper-server-*-bin.tar.gz;
-$BK_HOME/dev/check-binary-license 
./bookkeeper-dist/bkctl/target/bkctl-*-bin.tar.gz;
-if [ "$DLOG_MODIFIED" == "true" ]; then
-    cd $BK_HOME/stream/distributedlog
-    mvn --batch-mode clean package -Ddistributedlog
-fi
-if [ "$TRAVIS_OS_NAME" == "linux" ] && [ "$WEBSITE_MODIFIED" == "true" ]; then
-    cd $BK_HOME/site
-    make clean
-    # run the docker image to build the website
-    ./docker/ci.sh
-fi

Reply via email to