From cc0ce481a8aa43dbea6e7697f661b96fcc2b2439 Mon Sep 17 00:00:00 2001 From: Richard Marmorstein Date: Mon, 7 Jun 2021 15:44:15 -0400 Subject: [PATCH] Deprecate travis --- .travis.yml | 68 ----------------------------------------------------- 1 file changed, 68 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index f7ca29f13..000000000 --- a/.travis.yml +++ /dev/null @@ -1,68 +0,0 @@ -sudo: false - -dist: bionic - -language: php - -matrix: - include: - - php: 5.6 - env: AUTOLOAD=1 - dist: xenial - - php: 5.6 - env: AUTOLOAD=0 - dist: xenial - - php: 7.0 - env: AUTOLOAD=1 - dist: xenial - - php: 7.0 - env: AUTOLOAD=0 - dist: xenial - - php: 7.1 - env: AUTOLOAD=1 - - php: 7.1 - env: AUTOLOAD=0 - - php: 7.2 - env: AUTOLOAD=1 - - php: 7.2 - env: AUTOLOAD=0 - - php: 7.3 - env: AUTOLOAD=1 - - php: 7.3 - env: AUTOLOAD=0 - - php: 7.4 - env: AUTOLOAD=1 - - php: 7.4 - env: AUTOLOAD=0 - -env: - global: - - STRIPE_MOCK_VERSION=0.106.0 -cache: - directories: - - $HOME/.composer/cache/files - - stripe-mock - -before_install: - # Install various build dependencies. We use `travis_retry` because Composer - # will occasionally fail intermittently. - - travis_retry make vendor - - # Unpack and start stripe-mock so that the test suite can talk to it - - | - if [ ! -d "stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}" ]; then - mkdir -p stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}/ - curl -L "https://github.com/stripe/stripe-mock/releases/download/v${STRIPE_MOCK_VERSION}/stripe-mock_${STRIPE_MOCK_VERSION}_linux_amd64.tar.gz" -o "stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}_linux_amd64.tar.gz" - tar -zxf "stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}_linux_amd64.tar.gz" -C "stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}/" - fi - - | - stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}/stripe-mock > /dev/null & - STRIPE_MOCK_PID=$! - - export PATH="${PATH}:${PWD}/stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}" - -script: - - ./build.php ${AUTOLOAD} - - make fmtcheck - - if [[ `php -r "echo \version_compare(PHP_VERSION, '7.1', '>=');"` && $AUTOLOAD == 1 ]]; then make phpstan; fi - -after_script: ./vendor/bin/php-coveralls -v