����JFIF��x�x����'
Server IP : 78.140.185.180 / Your IP : 18.117.121.244 Web Server : LiteSpeed System : Linux cpanel13.v.fozzy.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : builderbox ( 1072) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/builderbox/public_html/vendor/algolia/algoliasearch-client-php/.circleci/ |
Upload File : |
# PHP CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-php/ for more details # version: 2.1 executors: php-docker: # declares a reusable executor parameters: version: description: "PHP version tag" type: string docker: - image: circleci/php:<<parameters.version>> jobs: test: parameters: version: description: "PHP version tag" type: string http_client: description: "PHP Client" type: string executor: name: php-docker version: <<parameters.version>> steps: - checkout - run: sudo apt update - run: sudo docker-php-ext-install zip # Download and cache dependencies - restore_cache: keys: - composer-deps-<<parameters.version>>-{{ checksum "composer.json" }} # fallback to using the latest cache if no exact match is found #- composer-deps- - run: COMPOSER_MEMORY_LIMIT=-1 composer install -n --prefer-dist - save_cache: key: composer-deps-<<parameters.version>>-{{ checksum "composer.json" }} paths: - ./vendor - run: name: Install PHP Client command: | if [ "<<parameters.http_client>>" == "legacy" ] then echo "Nothing to install, using default Algolia\AlgoliaSearch\Http\Php53HttpClient" else COMPOSER_MEMORY_LIMIT=-1 composer require <<parameters.http_client>> fi - run: name: Get API Key Dealer client command: | if [ "${CIRCLE_PR_REPONAME}" ] then curl -s https://algoliasearch-client-keygen.herokuapp.com | bash >> "$BASH_ENV" fi - run: name: Check code styles command: vendor/bin/php-cs-fixer fix -v --dry-run # Run tests with phpunit # # If the PR is open by an Algolia, we run all the tests # with the keys in the env variables # If the PR was open from a fork (community PR) # we get API keys from the API key dealer https://alg.li/api-key-dealer # we only run the tests on dictionaries on one case to avoid concurrency problems - run: name: Run tests command: | export CI_BUILD_NUM=$CIRCLE_BUILD_NUM if [ -z ${CIRCLE_PR_REPONAME+x} ] then if [ "<<parameters.version>>" == "latest" ] && [ "<<parameters.http_client>>" == "guzzlehttp/guzzle:"^7.0"" ] then php vendor/bin/phpunit else php vendor/bin/phpunit --exclude-group=dictionaries fi else export CI_PROJ_USERNAME=$CIRCLE_PR_USERNAME export CI_PROJ_REPONAME=$CIRCLE_PR_REPONAME if [ "<<parameters.version>>" == "latest" ] && [ "<<parameters.http_client>>" == "guzzlehttp/guzzle:"^7.0"" ] then php vendor/bin/phpunit else php vendor/bin/phpunit --exclude-group=dictionaries fi fi - run: name: Autoloading without Composer command: php tests/tests-no-composer.php workflows: workflow: jobs: - test: name: 'Guzzle 7 - PHP latest' version: "latest" http_client: guzzlehttp/guzzle:"^7.0" - test: name: 'Guzzle 7 - PHP 8.0' version: "8.0" http_client: guzzlehttp/guzzle:"^7.0" - test: name: 'Guzzle 7 - PHP 7.4' version: "7.4" http_client: guzzlehttp/guzzle:"^7.0" - test: name: 'Guzzle 6 - PHP latest' version: "latest" http_client: guzzlehttp/guzzle:"^6.0" - test: name: 'Guzzle 6 - PHP 8.0' version: "8.0" http_client: guzzlehttp/guzzle:"^6.0" - test: name: 'Guzzle 6 - PHP 7.4' version: "7.4" http_client: guzzlehttp/guzzle:"^6.0" - test: name: 'Guzzle 6 - PHP 7.2' version: "7.2" http_client: guzzlehttp/guzzle:"^6.0" - test: name: 'Legacy client - PHP latest' version: "latest" http_client: legacy - test: name: 'Legacy client - PHP 8.0' version: "8.0" http_client: legacy - test: name: 'Legacy client - PHP 7.4' version: "7.4" http_client: legacy - test: name: 'Legacy client - PHP 7.2' version: "7.2" http_client: legacy