forked from watir/watir
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
76 lines (71 loc) · 1.85 KB
/
.travis.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# Please note that we should not be using container-based infrastructure
# because Chrome requires a lot of shared memory and Travis does not allow
# use host's /dev/shm.
sudo: required
dist: trusty
cache: bundler
notifications:
slack:
secure: BLsBCm33R32VNRccrLx9F0P24X6BVpVHj1OWaN4Kyn6g9qXteIwC2VKVMnKNbifpojfMkrn0OeFQFK1O1DSOsC3mgzn/udoB+DnUGcSemFUn04xhbYF5SI+3zGPKPo0JLvjjdEKSSma84YwKdrj88pGUK34p01gL8hiaqjFzWdk=
before_install:
- gem update --system
- gem install bundler
before_script:
- support/travis.sh
- export PATH=~/.webdrivers:$PATH
script: bundle exec rake $RAKE_TASK
_version:
three: &three
language: ruby
rvm: 2.3.7
four: &four
language: ruby
rvm: 2.4.4
five: &five
language: ruby
rvm: 2.5.1
_browsers:
firefox: &firefox-latest
addons:
firefox: latest
chrome: &chrome
addons:
chrome: stable
matrix:
include:
- env: RAKE_TASK=spec:remote_firefox
<<: *five
<<: *firefox-latest
- env: RAKE_TASK=spec:remote_chrome
<<: *five
<<: *chrome
- env: RAKE_TASK=spec:firefox RELAXED_LOCATE=false
<<: *five
<<: *firefox-latest
- env: RAKE_TASK=spec:firefox
<<: *five
<<: *firefox-latest
- env: RAKE_TASK=spec:firefox
<<: *four
<<: *firefox-latest
- env: RAKE_TASK=spec:firefox
<<: *three
<<: *firefox-latest
- env: RAKE_TASK=spec:chrome
<<: *five
<<: *chrome
- env: RAKE_TASK=spec:chrome
<<: *four
<<: *chrome
- env: RAKE_TASK=spec:chrome
<<: *three
<<: *chrome
- env: RAKE_TASK=spec:chrome RELAXED_LOCATE=false
<<: *five
<<: *chrome
- env: RAKE_TASK=spec:chrome HEADLESS=true
<<: *five
<<: *chrome
- env: RAKE_TASK=yard:doctest
<<: *five
<<: *chrome