From abac425923cf5cdf9794db0541be368020ac8bfd Mon Sep 17 00:00:00 2001 From: Lakshya Kapoor Date: Thu, 21 Jan 2021 22:48:34 -0800 Subject: [PATCH] Stop using Appveyor and TravisCI. --- .travis.yml | 41 ---------------------------------- README.md | 2 -- appveyor.yml | 45 -------------------------------------- support/install_jruby.ps1 | 7 ------ support/install_msedge.ps1 | 11 ---------- 5 files changed, 106 deletions(-) delete mode 100644 .travis.yml delete mode 100644 appveyor.yml delete mode 100644 support/install_jruby.ps1 delete mode 100644 support/install_msedge.ps1 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 9792f765..00000000 --- a/.travis.yml +++ /dev/null @@ -1,41 +0,0 @@ -language: ruby -cache: bundler -addons: - apt: - packages: - - chromium-browser - - libgconf-2-4 - chrome: stable -script: bundle exec rake $RAKE_TASK -before_install: - - gem update --system -N - - gem install bundler -N -matrix: - include: - - rvm: 2.4 - env: RAKE_TASK=spec - - rvm: 2.5 - env: RAKE_TASK=spec - - rvm: 2.6 - env: RAKE_TASK=spec - - rvm: 2.7 - os: osx - env: RAKE_TASK=spec - - rvm: 2.7 - env: RAKE_TASK=rubocop - - rvm: jruby-9.2.13.0 - jdk: openjdk8 - env: RAKE_TASK=spec - - rvm: 2.7 - env: RAKE_TASK=spec - gemfile: gemfiles/Gemfile.edge - os: osx - osx_image: xcode11.3 - addons: - chrome: stable - homebrew: - taps: homebrew/cask-versions - casks: - - microsoft-edge - allow_failures: - - gemfile: gemfiles/Gemfile.edge \ No newline at end of file diff --git a/README.md b/README.md index d8f35273..f51a6abc 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,6 @@ # Webdrivers [![Gem Version](https://badge.fury.io/rb/webdrivers.svg)](https://badge.fury.io/rb/webdrivers) -[![Build status](https://travis-ci.org/titusfortner/webdrivers.svg?branch=master)](https://travis-ci.org/titusfortner/webdrivers) -[![AppVeyor status](https://ci.appveyor.com/api/projects/status/ejh90xqbvkphq4cy/branch/master?svg=true)](https://ci.appveyor.com/project/titusfortner/webdrivers/branch/master) ![Tests](https://github.com/titusfortner/webdrivers/workflows/Tests/badge.svg) Run Selenium tests more easily with automatic installation and updates for all supported webdrivers. diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index b8bb4cb2..00000000 --- a/appveyor.yml +++ /dev/null @@ -1,45 +0,0 @@ -build: off -cache: - - vendor/bundle -image: - - Visual Studio 2019 -environment: - matrix: - - RUBY_VERSION: Ruby24-x64 - RUBY_BIN: ruby - RAKE_TASK: rubocop - SCRIPT_CONTEXT: bundle exec - - RUBY_VERSION: Ruby24-x64 - RUBY_BIN: ruby - RAKE_TASK: spec - SCRIPT_CONTEXT: bundle exec - - RUBY_VERSION: Ruby25-x64 - RUBY_BIN: ruby - RAKE_TASK: spec - SCRIPT_CONTEXT: bundle exec - - RUBY_VERSION: Ruby26-x64 - RUBY_BIN: ruby - RAKE_TASK: spec - SCRIPT_CONTEXT: bundle exec - - RUBY_VERSION: jruby-9.2.13.0 - RUBY_BIN: jruby - RAKE_TASK: spec - SCRIPT_CONTEXT: jruby -G -S - - RUBY_VERSION: Ruby26-x64 - RUBY_BIN: ruby - RAKE_TASK: spec - SCRIPT_CONTEXT: bundle exec - BUNDLE_GEMFILE: gemfiles/Gemfile.edge -install: - - ps: if ($env:RUBY_BIN -eq 'jruby') { support\install_jruby.ps1 } - - ps: support\install_msedge.ps1 - - set PATH=C:\%RUBY_VERSION%\bin;%PATH% - - '%RUBY_BIN% -S gem update --system -N' - - '%RUBY_BIN% -S gem install bundler -N' - - '%RUBY_BIN% -S bundle install' -before_test: - - '%RUBY_BIN% -v' - - '%RUBY_BIN% -S gem -v' - - '%RUBY_BIN% -S bundle -v' -test_script: - - '%SCRIPT_CONTEXT% rake %RAKE_TASK%' \ No newline at end of file diff --git a/support/install_jruby.ps1 b/support/install_jruby.ps1 deleted file mode 100644 index cd19f30b..00000000 --- a/support/install_jruby.ps1 +++ /dev/null @@ -1,7 +0,0 @@ -$downloadLink = "https://repo1.maven.org/maven2/org/jruby/jruby-dist/9.2.13.0/jruby-dist-9.2.13.0-bin.zip" -$zipPath = "c:\jruby-dist-9.2.13.0-bin.zip" - -Write-Host "Installing $($env:RUBY_VERSION)" -ForegroundColor cyan -appveyor DownloadFile "$($downloadLink)" -FileName "$($zipPath)" -7z x "$($zipPath)" -oc:\ -y # Unzip to c:\ -Write-Host "JRuby installed.`n" -ForegroundColor green diff --git a/support/install_msedge.ps1 b/support/install_msedge.ps1 deleted file mode 100644 index a0f1ba8a..00000000 --- a/support/install_msedge.ps1 +++ /dev/null @@ -1,11 +0,0 @@ -$downloadLink = "https://go.microsoft.com/fwlink/?linkid=2108834&Channel=Stable&language=en" -$installerFile = "C:\MicrosoftEdgeSetup.exe" - -# Note: We're purposely skipping the -Wait flag in Start-Process. -# This is because Edge auto-launches after the setup is done and -# Start-Process continues to indefinitely wait on that process. -Write-Host "Downloading Microsoft Edge (Stable)..." -ForegroundColor cyan -Invoke-WebRequest $downloadLink -OutFile $installerFile -Write-Host "Installing..." -ForegroundColor cyan -Start-Process $installerFile -Write-Host "Microsoft Edge (Stable) installed.`n" -ForegroundColor green \ No newline at end of file