From 5009eb0b1e6115a1f031b8196671e8e9617d07e4 Mon Sep 17 00:00:00 2001 From: "Shao Yu-Lung (Allen)" Date: Sat, 14 Oct 2023 23:58:39 +0800 Subject: [PATCH 1/2] chore: remove travis-ci stuff (#3462) --- .travis.yml | 58 ---------------------------------------------- travis-build.sh | 61 ------------------------------------------------- 2 files changed, 119 deletions(-) delete mode 100644 .travis.yml delete mode 100755 travis-build.sh diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index b34ef2ae94..0000000000 --- a/.travis.yml +++ /dev/null @@ -1,58 +0,0 @@ -language: bash -sudo: required -services: - - docker - -env: - matrix: - - HUGO_VERSION=0.20.2 - - - PHP_VERSION=hhvm BUILD_SERVICE=hhvm - - # - PHP_VERSION=5.6 BUILD_SERVICE=php-worker - - PHP_VERSION=7.0 BUILD_SERVICE=php-worker - - PHP_VERSION=7.1 BUILD_SERVICE=php-worker - - PHP_VERSION=7.2 BUILD_SERVICE=php-worker - - PHP_VERSION=7.3 BUILD_SERVICE=php-worker - - PHP_VERSION=7.4 BUILD_SERVICE=php-worker - - PHP_VERSION=8.0 BUILD_SERVICE=php-worker - - PHP_VERSION=8.1 BUILD_SERVICE=php-worker - - - PHP_VERSION=7.0 BUILD_SERVICE=laravel-horizon - - PHP_VERSION=7.1 BUILD_SERVICE=laravel-horizon - - PHP_VERSION=7.2 BUILD_SERVICE=laravel-horizon - - PHP_VERSION=7.3 BUILD_SERVICE=laravel-horizon - - PHP_VERSION=7.4 BUILD_SERVICE=laravel-horizon - - PHP_VERSION=8.0 BUILD_SERVICE=laravel-horizon - - PHP_VERSION=8.1 BUILD_SERVICE=laravel-horizon - - - PHP_VERSION=NA BUILD_SERVICE=solr - - PHP_VERSION=NA BUILD_SERVICE="mssql rethinkdb aerospike" - - PHP_VERSION=NA BUILD_SERVICE="blackfire minio percona nginx caddy apache2 mysql mariadb postgres postgres-postgis neo4j mongo redis cassandra" - - PHP_VERSION=NA BUILD_SERVICE="adminer phpmyadmin pgadmin" - - PHP_VERSION=NA BUILD_SERVICE="memcached beanstalkd beanstalkd-console rabbitmq elasticsearch certbot mailhog maildev selenium jenkins proxy proxy2 haproxy gearman" - - PHP_VERSION=NA BUILD_SERVICE="kibana grafana laravel-echo-server" - - PHP_VERSION=NA BUILD_SERVICE="ipython-controller manticore" - # - PHP_VERSION=NA BUILD_SERVICE="aws" - -# Installing a newer Docker version -before_install: - - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - - - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" - - sudo apt-get update - - sudo apt-get -y install docker-ce - - docker version - -script: ./travis-build.sh - -deploy: - provider: pages - skip_cleanup: true - local_dir: docs - github_token: $GITHUB_TOKEN - on: - branch: master - condition: -n "${HUGO_VERSION}" - -notifications: - email: false diff --git a/travis-build.sh b/travis-build.sh deleted file mode 100755 index b86105d2f9..0000000000 --- a/travis-build.sh +++ /dev/null @@ -1,61 +0,0 @@ -#!/usr/bin/env bash - -#### halt script on error -set -xe - -echo '##### Print docker version' -docker --version - -echo '##### Print environment' -env | sort - -#### Build the Docker Images -if [ -n "${PHP_VERSION}" ]; then - cp .env.example .env - sed -i -- "s/PHP_VERSION=.*/PHP_VERSION=${PHP_VERSION}/g" .env - sed -i -- 's/=false/=true/g' .env - sed -i -- 's/CHANGE_SOURCE=true/CHANGE_SOURCE=false/g' .env - sed -i -- 's/PHPDBG=true/PHPDBG=false/g' .env - sed -i -- 's/CASSANDRA=true/CASSANDRA=false/g' .env - sed -i -- 's/GEARMAN=true/GEARMAN=false/g' .env - sed -i -- 's/AEROSPIKE=true/AEROSPIKE=false/g' .env - sed -i -- 's/PHALCON=true/PHALCON=false/g' .env - sed -i -- 's/RDKAFKA=true/RDKAFKA=false/g' .env - sed -i -- 's/MAILPARSE=true/MAILPARSE=false/g' .env - sed -i -- 's/V8JS=true/V8JS=false/g' .env - sed -i -- 's/OCI8=true/OCI8=false/g' .env - if [ "${PHP_VERSION}" == "5.6" ]; then - # Aerospike C Client SDK 4.0.7, Debian 9.6 is not supported - # https://github.com/aerospike/aerospike-client-php5/issues/145 - sed -i -- 's/WORKSPACE_INSTALL_AEROSPIKE=true/WORKSPACE_INSTALL_AEROSPIKE=false/g' .env - sed -i -- 's/PHP_FPM_INSTALL_AEROSPIKE=true/PHP_FPM_INSTALL_AEROSPIKE=false/g' .env - fi - if [ "${PHP_VERSION}" == "7.3" ]; then - # This ssh2 extension does not yet support PHP 7.3. - sed -i -- 's/PHP_FPM_INSTALL_SSH2=true/PHP_FPM_INSTALL_SSH2=false/g' .env - fi - - cat .env - docker-compose build ${BUILD_SERVICE} - docker images -fi - -#### Generate the Laradock Documentation site using Hugo -if [ -n "${HUGO_VERSION}" ]; then - HUGO_PACKAGE=hugo_${HUGO_VERSION}_Linux-64bit - HUGO_BIN=hugo_${HUGO_VERSION}_linux_amd64 - - # Download hugo binary - curl -L https://github.com/spf13/hugo/releases/download/v$HUGO_VERSION/$HUGO_PACKAGE.tar.gz | tar xz - mkdir -p $HOME/bin - mv ./${HUGO_BIN}/${HUGO_BIN} $HOME/bin/hugo - - # Remove existing docs - if [ -d "./docs" ]; then - rm -r ./docs - fi - - # Build docs - cd DOCUMENTATION - hugo -fi From 955d66df2ce19d46b28c80181bfeb1b5aac1e0c9 Mon Sep 17 00:00:00 2001 From: "Shao Yu-Lung (Allen)" Date: Sun, 15 Oct 2023 00:56:55 +0800 Subject: [PATCH 2/2] Update README.md (#3463) remove travis-ci build status --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 99154c337d..f7a7de23c1 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,6 @@ GitHub issues GitHub stars GitHub CI - Build status GitHub license