Hopefully found the final fix for the Travis/Browserstack local tunnel issues
This commit is contained in:
19
.travis.yml
19
.travis.yml
@@ -13,24 +13,27 @@ before_script:
|
||||
- RUBY_VERSION=/bin/bash rvm current
|
||||
- sed -i -E 's/system\((.*?)\)/""/g' /home/travis/.rvm/gems/$RUBY_VERSION/gems/browserstack-local-1.3.0/lib/browserstack/local.rb
|
||||
- yes | ./update-geoipdb
|
||||
env:
|
||||
- CONFIG_FILE=windows/windows_chrome_latest.config.yaml
|
||||
jobs:
|
||||
include:
|
||||
- name: "Full Test Suite"
|
||||
- name: "Full Test Suite 2.5.3"
|
||||
rvm: 2.5.3
|
||||
env: CONFIG_FILE=windows/windows_chrome_latest.config.yaml
|
||||
script: bundle exec rake
|
||||
- name: "Full Test Suite"
|
||||
- name: "Full Test Suite 2.6.0"
|
||||
rvm: 2.6.0
|
||||
env: CONFIG_FILE=windows/windows_chrome_latest.config.yaml
|
||||
script: bundle exec rake
|
||||
- name: "Full Test Suite"
|
||||
- name: "Full Test Suite 2.6.3"
|
||||
rvm: 2.6.3
|
||||
script: bundle exec rake
|
||||
- name: "Full Test Suite 2.6.5"
|
||||
rvm: 2.6.5
|
||||
env: CONFIG_FILE=windows/windows_chrome_latest.config.yaml
|
||||
script: bundle exec rake
|
||||
- name: "Full Test Suite"
|
||||
- name: "Full Test Suite 2.7.0"
|
||||
rvm: 2.7.0
|
||||
env: CONFIG_FILE=windows/windows_chrome_latest.config.yaml
|
||||
script: bundle exec rake
|
||||
script:
|
||||
- bundle exec rspec --tag run_on_browserstack
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
|
||||
@@ -79,6 +79,7 @@ RSpec.configure do |config|
|
||||
bs_local_args = { "key" => CONFIG['key'], "forcelocal" => true }
|
||||
@bs_local.start(bs_local_args)
|
||||
@caps["browserstack.local"] = true
|
||||
@caps['browserstack.localIdentifier'] = ENV['BROWSERSTACK_LOCAL_IDENTIFIER']
|
||||
end
|
||||
|
||||
@driver = Selenium::WebDriver.for(:remote,
|
||||
|
||||
Reference in New Issue
Block a user