2018-03-16 14:10:31 -04:00
|
|
|
version: 1.0.{build}-{branch}
|
|
|
|
|
|
|
|
cache:
|
|
|
|
- vendor/bundle
|
|
|
|
|
2018-12-20 15:37:14 -05:00
|
|
|
# image: Visual Studio 2017
|
|
|
|
|
2018-03-16 14:10:31 -04:00
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
- RUBY_VERSION: 25
|
|
|
|
CAPYBARA_FF: true
|
2018-03-17 07:55:00 -04:00
|
|
|
- RUBY_VERSION: 25
|
|
|
|
CAPYBARA_IE: true
|
2018-04-05 12:18:55 -04:00
|
|
|
BUNDLE_GEMFILE: gemfiles/Gemfile.ie
|
2018-05-10 16:20:23 -04:00
|
|
|
- RUBY_VERSION: 23
|
2018-03-16 14:10:31 -04:00
|
|
|
|
2018-03-17 07:55:00 -04:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- CAPYBARA_IE: true
|
|
|
|
- CAPYBARA_EDGE: true
|
|
|
|
|
2018-08-30 19:42:48 -04:00
|
|
|
init:
|
|
|
|
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/set-screenresolution.ps1'))
|
|
|
|
- ps: Set-ScreenResolution 1600 1200
|
|
|
|
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
|
|
|
|
2018-03-16 14:10:31 -04:00
|
|
|
install:
|
|
|
|
- set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
|
|
|
|
- cinst Firefox GoogleChrome
|
2018-03-25 12:55:36 -04:00
|
|
|
# Registry hack so driver can maintain connection
|
|
|
|
- REG ADD "HKLM\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BFCACHE" /v iexplore.exe /t REG_DWORD /d 00000000
|
|
|
|
- REG ADD "HKLM\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BFCACHE" /v iexplore.exe /t REG_DWORD /d 00000000
|
2018-03-16 14:10:31 -04:00
|
|
|
- bundle config --local path vendor/bundle
|
|
|
|
- bundle install
|
|
|
|
|
|
|
|
build: off
|
|
|
|
|
|
|
|
before_test:
|
2018-12-20 15:37:14 -05:00
|
|
|
# - ps: Invoke-WebRequest 'https://github.com/SeleniumHQ/selenium/raw/master/cpp/prebuilt/x64/Release/IEDriverServer.exe' -OutFile 'C:\Tools\WebDriver\IEDriverServer.exe'
|
|
|
|
- ps: Invoke-WebRequest 'https://github.com/SeleniumHQ/selenium/raw/master/cpp/prebuilt/Win32/Release/IEDriverServer.exe' -OutFile 'C:\Tools\WebDriver\IEDriverServer.exe'
|
2018-03-16 14:10:31 -04:00
|
|
|
- ruby -v
|
|
|
|
- gem -v
|
|
|
|
- bundle -v
|
2018-12-20 15:37:14 -05:00
|
|
|
- chromedriver.exe --version
|
|
|
|
- geckodriver.exe --version
|
|
|
|
- IEDriverServer.exe --version
|
2018-03-16 14:10:31 -04:00
|
|
|
|
|
|
|
test_script:
|
|
|
|
- bundle exec rake travis
|