From 06562b84f65fe5089288f3ca180d06361bb40c8e Mon Sep 17 00:00:00 2001 From: Tuukka Pasanen Date: Fri, 22 Apr 2022 09:54:08 +0300 Subject: [PATCH] MDEV-28388: As Travis is not used anymore remove configurations files As Travis is not used anymore for CI is not wise to keep untested CI files laying around that someone can base their effort to update un-used files. --- .travis.compiler.sh | 51 ------------ .travis.yml | 194 -------------------------------------------- 2 files changed, 245 deletions(-) delete mode 100755 .travis.compiler.sh delete mode 100644 .travis.yml diff --git a/.travis.compiler.sh b/.travis.compiler.sh deleted file mode 100755 index 6b8de374219..00000000000 --- a/.travis.compiler.sh +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh -set -v -x - -# Exclude modules from build not directly affecting the current -# test suites found in $MYSQL_TEST_SUITES, to conserve job time -# as well as disk usage - -function exclude_modules() { -# excludes for all -CMAKE_OPT="${CMAKE_OPT} -DPLUGIN_TOKUDB=NO -DPLUGIN_MROONGA=NO -DPLUGIN_SPIDER=NO -DPLUGIN_OQGRAPH=NO -DPLUGIN_PERFSCHEMA=NO -DPLUGIN_SPHINX=NO" -# exclude storage engines not being tested in current job -if [[ ! "${MYSQL_TEST_SUITES}" =~ "archive" ]]; then - CMAKE_OPT="${CMAKE_OPT} -DPLUGIN_ARCHIVE=NO" -fi -if [[ ! "${MYSQL_TEST_SUITES}" =~ "rocksdb" ]]; then - CMAKE_OPT="${CMAKE_OPT} -DPLUGIN_ROCKSDB=NO" -fi -} - -if [[ "${TRAVIS_OS_NAME}" == 'linux' ]]; then - TEST_CASE_TIMEOUT=2 - exclude_modules; - if which ccache ; then - CMAKE_OPT="${CMAKE_OPT} -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache" - ccache --max-size=2200M - fi - if [[ "${CXX}" == 'clang++' ]]; then - export CXX CC=${CXX/++/} - elif [[ "${CXX}" == 'g++' ]]; then - export CXX=g++-${CC_VERSION} - export CC=gcc-${CC_VERSION} - fi - if [[ ${CC_VERSION} == 6 ]]; then - wget http://mirrors.kernel.org/ubuntu/pool/universe/p/percona-xtradb-cluster-galera-2.x/percona-xtradb-cluster-galera-2.x_165-0ubuntu1_amd64.deb ; - ar vx percona-xtradb-cluster-galera-2.x_165-0ubuntu1_amd64.deb - tar -xJvf data.tar.xz - export WSREP_PROVIDER=$PWD/usr/lib/libgalera_smm.so - MYSQL_TEST_SUITES="${MYSQL_TEST_SUITES},wsrep" - fi -fi - -if [[ "${TRAVIS_OS_NAME}" == 'osx' ]]; then - TEST_CASE_TIMEOUT=20 - exclude_modules; - CMAKE_OPT="${CMAKE_OPT} -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl" - if which ccache ; then - CMAKE_OPT="${CMAKE_OPT} -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache" - fi -fi - -set +v +x diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 809a08fd6a2..00000000000 --- a/.travis.yml +++ /dev/null @@ -1,194 +0,0 @@ -# vim ft=yaml -# travis-ci.org definition - -sudo: false -dist: trusty - -git: - depth: 2 - -language: cpp -os: - - linux - - osx -osx_image: xcode12u -compiler: - - gcc - - clang - -cache: - timeout: 500 - apt: true - ccache: true - -env: - matrix: - - CC_VERSION=5 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=main - - CC_VERSION=5 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=archive,optimizer_unfixed_bugs,parts,sys_vars,unit,vcol,innodb,innodb_gis,innodb_zip,innodb_fts - - CC_VERSION=5 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rpl - - CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=binlog,binlog_encryption,encryption - - CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rocksdb,versioning - - CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=csv,federated,funcs_1,funcs_2,gcol,handler,heap,json,maria,perfschema,plugins,multi_source,roles - -matrix: - exclude: - - os: osx - compiler: gcc - include: - - os: linux - compiler: gcc - env: - - DebPackages - addons: - apt: - packages: # make sure these match debian/control contents - - bison - - chrpath - - cmake - - debhelper - - dh-apparmor - - dh-exec - - dpatch - - gdb - - libaio-dev - - libboost-dev - - libcurl3-dev - - libdbd-mysql - - libjudy-dev - - libncurses5-dev - - libpam0g-dev - - libpcre3-dev - - libreadline-gplv2-dev - - libstemmer-dev - - libssl-dev - - libnuma-dev - - libxml2-dev - - lsb-release - - perl - - po-debconf - - psmisc - - zlib1g-dev - - libcrack2-dev - - cracklib-runtime - - libjemalloc-dev - - libsnappy-dev - - liblzma-dev - - libzmq-dev - - libdistro-info-perl - - uuid-dev - - devscripts - - fakeroot - script: - - ${CC} --version ; ${CXX} --version - # https://github.com/travis-ci/travis-ci/issues/7062 - /run/shm isn't writable or executable - # in trusty containers - - export MTR_MEM=/tmp - - env DEB_BUILD_OPTIONS="parallel=4" debian/autobake-deb.sh; - - ccache --show-stats - # Until OSX becomes a bit more stable: MDEV-12435 MDEV-16213 - allow_failures: - - os: osx - compiler: clang - env: CC_VERSION=5 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rpl - - os: osx - compiler: clang - env: CC_VERSION=5 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=main - - os: osx - compiler: clang - env: CC_VERSION=5 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=archive,optimizer_unfixed_bugs,parts,sys_vars,unit,vcol,innodb,innodb_gis,innodb_zip,innodb_fts - - os: osx - compiler: clang - env: CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=binlog,binlog_encryption,encryption - - os: osx - compiler: clang - env: CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rocksdb,versioning - - os: osx - compiler: clang - env: CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=csv,federated,funcs_1,funcs_2,gcol,handler,heap,json,maria,perfschema,plugins,multi_source,roles - -addons: - apt: - sources: - - ubuntu-toolchain-r-test - - llvm-toolchain-trusty-5.0 - - llvm-toolchain-trusty-6.0 - packages: # make sure these include all compilers and all build dependencies (see list above) - - gcc-5 - - g++-5 - - gcc-6 - - g++-6 - - clang-5.0 - - llvm-5.0-dev - - clang-6.0 - - llvm-6.0-dev - - bison - - chrpath - - cmake - - gdb - - libaio-dev - - libboost-dev - - libcurl3-dev - - libdbd-mysql - - libjudy-dev - - libncurses5-dev - - libpam0g-dev - - libpcre3-dev - - libreadline-gplv2-dev - - libstemmer-dev - - libssl-dev - - libnuma-dev - - libxml2-dev - - lsb-release - - perl - - psmisc - - zlib1g-dev - - libcrack2-dev - - cracklib-runtime - - libjemalloc-dev - - libsnappy-dev - - liblzma-dev - - libzmq-dev - - uuid-dev - -# libsystemd-daemon-dev # https://github.com/travis-ci/apt-package-whitelist/issues/3882 - -before_install: - - if [[ "${TRAVIS_OS_NAME}" == 'osx' ]]; then - brew update; - brew install gnutls lz4 lzo xz snappy ccache jemalloc curl ossp-uuid pcre zstd; - brew link ccache; - export PATH="/usr/local/opt/ccache/libexec:$PATH"; - fi - -before_script: - - df -h - - ccache --version - - ccache --show-stats - -script: -# following modules are disabled after sourcing .travis.compiler.sh: -# clang disabled: mroonga just generates too many warnings with clang and travis stops the job -# cland disabled: tokudb has fatal warnings -# gcc/rpl: tokudb and mroonga - - source .travis.compiler.sh - - cmake . - -DCMAKE_BUILD_TYPE=${TYPE} - ${CMAKE_OPT} - -DWITH_SSL=system -DWITH_ZLIB=system - - make -j 4 - - cd mysql-test - - travis_wait 30 ./mtr --force --max-test-fail=20 --parallel=4 --testcase-timeout=${TEST_CASE_TIMEOUT} - --suite=${MYSQL_TEST_SUITES} - --skip-test-list=unstable-tests - --skip-test=binlog.binlog_unsafe - - ccache --show-stats - - df -h - -notifications: - irc: - channels: - - "chat.freenode.net#maria" - on_success: never # [always|never|change] - on_failure: never - template: - - "%{repository}/%{branch} (%{commit} - %{author}): %{build_url}: %{message}"