1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00
teamcapybara--capybara/.travis.yml

165 lines
4 KiB
YAML
Raw Normal View History

language: ruby
2016-04-14 19:59:03 -04:00
sudo: required
dist: trusty
2019-04-25 03:39:37 -04:00
notifications:
webhooks: https://coveralls.io/webhook
2018-04-24 18:47:53 -04:00
services:
- docker
2011-11-06 07:16:54 -05:00
rvm:
- 2.6
- jruby-9.2.8.0
2012-09-09 18:57:31 -04:00
gemfile:
- Gemfile
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
- JAVA_OPTS=-Djava.security.egd=file:/dev/urandom
2019-07-30 15:30:14 -04:00
- WD_CACHE_TIME=0
addons:
chrome: stable
apt:
packages:
- awesome
branches:
except:
- /^ie_/
cache:
bundler: true
directories:
- ~/.webdrivers
2012-09-09 18:57:31 -04:00
matrix:
include:
- gemfile: gemfiles/Gemfile.gumbo
rvm: 2.5
script: bundle exec rake rack_smoke
2018-04-24 18:47:53 -04:00
- gemfile: Gemfile
rvm: 2.5
2018-06-26 16:55:17 -04:00
env: CAPYBARA_REMOTE=true
2018-06-25 14:21:20 -04:00
- gemfile: Gemfile
rvm: 2.5
2018-06-26 16:55:17 -04:00
env:
- CAPYBARA_REMOTE=true
- CAPYBARA_FF=true
- gemfile: gemfiles/Gemfile.base-versions
2019-03-25 12:37:25 -04:00
rvm: 2.4
env: CAPYBARA_FF=true
2016-07-27 17:20:25 -04:00
addons:
firefox: latest
2016-07-27 17:20:25 -04:00
apt:
packages:
- awesome
- gemfile: gemfiles/Gemfile.base-versions
rvm: 2.4
- gemfile: Gemfile
rvm: 2.6
env: HEADLESS=true
2019-06-09 15:05:41 -04:00
- gemfile: Gemfile
rvm: 2.6
env:
- HEADLESS=true
- W3C=false
- gemfile: gemfiles/Gemfile.beta-versions
rvm: 2.6
env: CAPYBARA_FF=true
addons:
firefox: latest-beta
2017-01-03 13:52:33 -05:00
apt:
packages:
- awesome
- gemfile: gemfiles/Gemfile.edge-firefox
rvm: ruby-head
env:
- CAPYBARA_FF=true
- CAPYBARA_REMOTE=true
- gemfile: gemfiles/Gemfile.edge-firefox
rvm: ruby-head
env:
- CAPYBARA_REMOTE=true
- HEADLESS=true
- gemfile: gemfiles/Gemfile.edge-firefox
2017-10-06 18:12:12 -04:00
rvm: ruby-head
env: CAPYBARA_FF=true RUBY_OPT=--jit
addons:
firefox: latest-nightly
apt:
packages:
- awesome
- gemfile: Gemfile
rvm: ruby-head
env: CAPYBARA_FF=true
addons:
firefox: latest
apt:
packages:
- awesome
- gemfile: Gemfile
rvm: 2.4
env: CAPYBARA_FF=true HEADLESS=true
addons:
firefox: latest
- gemfile: Gemfile
rvm: 2.5
2019-06-09 15:05:41 -04:00
env: CHROME_BETA=true HEADLESS=true
addons:
chrome: beta
- gemfile: Gemfile
os: osx
osx_image: xcode10.2
rvm: 2.6
addons:
homebrew:
taps: homebrew/cask-versions
casks: safari-technology-preview
before_script:
- "sudo /usr/bin/safaridriver --enable"
- "sudo '/Applications/Safari Technology Preview.app/Contents/MacOS/safaridriver' --enable"
script: "bundle exec rake spec_safari"
2019-06-04 17:35:44 -04:00
- gemfile: gemfiles/Gemfile.chrome_edge
os: osx
osx_image: xcode10.2
rvm: 2.6
addons:
homebrew:
taps: homebrew/cask-versions
2019-06-16 13:10:37 -04:00
casks: microsoft-edge-dev
2019-06-04 17:35:44 -04:00
before_install:
- wget https://msedgewebdriverstorage.blob.core.windows.net/edgewebdriver/76.0.168.0/edgedriver_mac64.zip
- unzip edgedriver_mac64.zip -d /usr/local/bin
script: "bundle exec rake spec_edge"
allow_failures:
- os: osx
- gemfile: gemfiles/Gemfile.beta-versions
- gemfile: gemfiles/Gemfile.edge-firefox
2019-06-09 15:05:41 -04:00
- env: CHROME_BETA=true HEADLESS=true
before_install:
- gem update --system
- if [[ $BUNDLE_GEMFILE =~ Gemfile.edge-firefox$ ]]; then
pushd ..;
git clone --depth 1 https://github.com/SeleniumHQ/selenium.git;
cd selenium; ./go //rb:gem:build;
popd;
bundle config local.selenium-webdriver ../selenium/build/rb;
fi
2011-11-06 07:16:54 -05:00
before_script:
2018-06-26 16:55:17 -04:00
- if [[ -z $HEADLESS && -z $CAPYBARA_REMOTE ]]; then
export DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
sleep 1;
mkdir -p ~/.config/awesome;
echo "require('awful'); tags = {}; tags[1] = awful.tag({'name'})" > ~/.config/awesome/rc.lua;
awesome &
fi
2018-06-26 16:55:17 -04:00
- if [[ $CAPYBARA_REMOTE = true ]]; then
if [[ $CAPYBARA_FF = true ]]; then
docker-compose up -d selenium_firefox;
else
docker-compose up -d selenium_chrome;
fi;
2018-06-25 14:21:20 -04:00
fi
2018-04-24 18:47:53 -04:00
script: "bundle exec rake travis"