forked from teamcapybara/capybara
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
42 lines (34 loc) · 1.2 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
version: 1.0.{build}-{branch}
cache:
- vendor/bundle
environment:
matrix:
- RUBY_VERSION: 25
CAPYBARA_FF: true
- RUBY_VERSION: 25
CAPYBARA_IE: true
BUNDLE_GEMFILE: gemfiles/Gemfile.ie
- RUBY_VERSION: 23
matrix:
allow_failures:
- CAPYBARA_IE: true
- CAPYBARA_EDGE: true
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'))
install:
- set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
- cinst Firefox GoogleChrome
# 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
- bundle config --local path vendor/bundle
- bundle install
build: off
before_test:
- ruby -v
- gem -v
- bundle -v
test_script:
- bundle exec rake travis