forked from SeleniumHQ/selenium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
158 lines (153 loc) · 4.27 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
dist: trusty
sudo: required
env:
global:
- DISPLAY=:99.0
- PYTEST_ADDOPTS="--verbose --instafail"
- FF_ESR_BINARY=$HOME/firefox-latest-esr/firefox/firefox-bin
- FF_NIGHTLY_BINARY=$HOME/firefox-latest-nightly/firefox/firefox-bin
git:
depth: 10
_bindings:
java: &java
language: java
jdk: oraclejdk8
python: &python
language: python
python: "2.7"
ruby: &ruby
language: ruby
rvm: 2.0.0-p648
jdk: oraclejdk8
_browsers:
firefox: &firefox-latest
addons:
firefox: latest
firefox-esr: &firefox-esr
addons:
firefox: latest-esr
firefox-nightly: &firefox-nightly
addons:
firefox: latest-nightly
chrome: &chrome
addons:
apt:
packages:
- google-chrome-stable
cache:
directories:
- buck-out
- build
matrix:
exclude:
- env: CHROME=1 TASK=test_chrome
<<: *java
<<: *chrome
- env: TASK="//javascript/atoms:atoms //javascript/webdriver:all_js //javascript/ie-driver:atoms //javascript/chrome-driver:atoms //javascript/android-atoms:atoms ios_driver"
<<: *java
- env: TOXENV=flake8
<<: *python
- env: TOXENV=docs
<<: *python
- env: CHROME=1 TOXENV=py27-chrome
<<: *python
<<: *chrome
- env: TOXENV=py27-firefox
<<: *python
<<: *firefox-esr
- env: TOXENV=py27-remote
<<: *python
<<: *firefox-esr
- env: MARIONETTE=1 TOXENV=py27-marionette
<<: *python
<<: *firefox-nightly
include:
- env: TASK=build
<<: *java
- env: TASK=//java/client/test/org/openqa/selenium/atoms:test:run
<<: *java
- env: CHROME=1 TASK="calcdeps //javascript/atoms:atoms-chrome:run //javascript/selenium-atoms:selenium-atoms-chrome:run //javascript/selenium-core:selenium-core-chrome:run //javascript/webdriver:webdriver-chrome:run"
<<: *java
<<: *chrome
- env: MARIONETTE=1 TASK="calcdeps //javascript/atoms:atoms-firefox:run //javascript/webdriver:webdriver-firefox:run //javascript/selenium-atoms:selenium-atoms-firefox:run //javascript/selenium-core:selenium-core-firefox:run"
<<: *java
<<: *firefox-latest
- env: TASK=//java/client/test/org/openqa/selenium/firefox:test-synthesized:run
<<: *java
<<: *firefox-esr
- env: MARIONETTE=1 TASK=//java/client/test/org/openqa/selenium/firefox:marionette:run
<<: *java
<<: *firefox-nightly
- env: TASK=test_java_small_tests
<<: *java
- env: MARIONETTE=1 TASK=test_grid
<<: *java
<<: *firefox-nightly
- env: TASK=test_htmlunit
<<: *java
- env: TASK=javadocs
<<: *java
- env: TOXENV=py27-unit
<<: *python
- env: TOXENV=flake8
<<: *python
python: 3.6
- env: TOXENV=docs
<<: *python
python: 3.6
- env: TOXENV=py36-unit
<<: *python
python: 3.6
- env: CHROME=1 TOXENV=py36-chrome
<<: *python
<<: *chrome
python: 3.6
- env: TOXENV=py36-firefox
<<: *python
<<: *firefox-esr
python: 3.6
- env: TOXENV=py36-remote
<<: *python
<<: *firefox-esr
python: 3.6
- env: MARIONETTE=1 TOXENV=py36-marionette
<<: *python
<<: *firefox-nightly
python: 3.6
- env: TASK=//rb:unit-test
<<: *ruby
- env: CHROME=1 TASK=//rb:chrome-test
<<: *ruby
<<: *chrome
- env: MARIONETTE=1 TASK=//rb:firefox-test
<<: *ruby
<<: *firefox-latest
- env: TASK=//rb:ff-esr-test
<<: *ruby
<<: *firefox-esr
- env: CHROME=1 TASK=//rb:remote-chrome-test
<<: *ruby
<<: *chrome
- env: MARIONETTE=1 TASK=//rb:remote-firefox-test
<<: *ruby
<<: *firefox-latest
- env: TASK=//rb:remote-ff-esr-test
<<: *ruby
<<: *firefox-esr
- env: TASK=//rb:docs
<<: *ruby
- env: TASK=//rb:lint
<<: *ruby
before_install: ./scripts/travis/before_install.sh
install: ./scripts/travis/install.sh
before_script: ./scripts/travis/before_script.sh
script: ./scripts/travis/script.sh
notifications:
email: false
irc:
channels:
- secure: K+Wuro8Y/66zt9truTZuZzFmPqiGrFsH/sPzOBDK3+57mL6/vg2NoQCXOTq3U5RLdVKavlvZcm6+9nsNncVPRgzL7ORuW3BgLaBJis3lTA13AqlOnAbXcYytQEulVeWmvPipHFFFqaHs/z77lxm4fKwAAuBnK1f+mXKZDZR2hLo=
on_success: never
on_failure: always
use_notice: true
skip_join: true