From 19da5510df3f3eee8fcd81c0bbd145b7069736cb Mon Sep 17 00:00:00 2001 From: Richard Marmorstein <52928443+richardm-stripe@users.noreply.github.com> Date: Thu, 24 Jun 2021 12:01:53 -0400 Subject: [PATCH] Deprecate travis (#982) --- .travis.yml | 38 -------------------------------------- test/test_helper.rb | 1 - 2 files changed, 39 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 5e2f355e..00000000 --- a/.travis.yml +++ /dev/null @@ -1,38 +0,0 @@ -language: ruby - -rvm: - - 2.3 - - 2.4 - - 2.5 - - 2.6 - - 2.7 - - jruby-9.2.7.0 - -notifications: - email: - on_success: never - -env: - global: - # If changing this number, please also change it in `test/test_helper.rb`. - - STRIPE_MOCK_VERSION=0.106.0 - -cache: - directories: - - stripe-mock - -before_install: - # 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: - - bundle exec rake diff --git a/test/test_helper.rb b/test/test_helper.rb index ee5b6660..5a79fe0c 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -12,7 +12,6 @@ PROJECT_ROOT = ::File.expand_path("../", __dir__) require ::File.expand_path("test_data", __dir__) require ::File.expand_path("stripe_mock", __dir__) -# If changing this number, please also change it in `.travis.yml`. MOCK_MINIMUM_VERSION = "0.106.0" MOCK_PORT = Stripe::StripeMock.start