forked from SeleniumHQ/selenium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
176 lines (171 loc) · 5.06 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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
dist: trusty
sudo: required
env:
global:
- DISPLAY=:99.0
- PYTEST_ADDOPTS="--verbose --instafail"
- FF_ESR_BINARY=$HOME/firefox-52.9.0esr/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"
jdk: oraclejdk8
ruby: &ruby
language: ruby
rvm: 2.0.0-p648
jdk: oraclejdk8
node: &node
language: node_js
node_js: node
_browsers:
firefox: &firefox-latest
addons:
firefox: latest
firefox-esr: &firefox-esr
addons:
firefox: "52.9.0esr"
firefox-nightly: &firefox-nightly
addons:
firefox: latest-nightly
chrome: &chrome
addons:
apt:
packages:
- google-chrome-stable
cache:
directories:
- buck-out
- build
matrix:
exclude:
- env: BUCK="//javascript/atoms:atoms //javascript/webdriver:all_js //javascript/ie-driver:atoms //javascript/chrome-driver:atoms //javascript/android-atoms:atoms ios_driver"
<<: *java
- env: CHROME=1 BUCK="test chrome-test"
<<: *java
<<: *chrome
- 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
- env: TASK=//rb:ff-esr-test
<<: *ruby
<<: *firefox-esr
- env: TASK=//rb:remote-ff-esr-test
<<: *ruby
<<: *firefox-esr
- env: CHROME=1 SELENIUM_BROWSER=chrome NPM=test
<<: *node
<<: *chrome
include:
- env: MARIONETTE=1 SELENIUM_BROWSER=firefox NPM=test
<<: *node
<<: *firefox-latest
- env: BUCK="build selenium-server-standalone java-small-tests chrome-test firefox-test legacy-firefox-test grid-test htmlunit-test ie-test opera-test java-small-tests //java/client/test/org/openqa/selenium/testing/drivers/..."
<<: *java
- env: BUCK="test //java/client/test/org/openqa/selenium/atoms:test"
<<: *java
- env: CHROME=1 TASK="calcdeps" BUCK="test //javascript/atoms:atoms-chrome //javascript/selenium-atoms:selenium-atoms-chrome //javascript/selenium-core:selenium-core-chrome //javascript/webdriver:webdriver-chrome"
<<: *java
<<: *chrome
- env: MARIONETTE=1 MOZ_HEADLESS=1 TASK="calcdeps" BUCK="test //javascript/atoms:atoms-firefox //javascript/webdriver:webdriver-firefox //javascript/selenium-atoms:selenium-atoms-firefox //javascript/selenium-core:selenium-core-firefox"
<<: *java
<<: *firefox-latest
- env: BUCK="test legacy-firefox-test"
<<: *java
<<: *firefox-esr
- env: MARIONETTE=1 BUCK="test firefox-test"
<<: *java
<<: *firefox-nightly
- env: MARIONETTE=1 BUCK="test --labels small --always-exclude //java/..."
<<: *java
- env: BUCK="test internal-grid-test"
<<: *java
- env: MARIONETTE=1 BUCK="test grid-test"
<<: *java
<<: *firefox-nightly
- env: CHROME=1 BUCK="test chrome-test"
<<: *java
<<: *chrome
- env: BUCK="test htmlunit-test"
<<: *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: MARIONETTE=1 TOXENV=py36-remote
<<: *python
<<: *firefox-nightly
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: CHROME=1 TASK=//rb:remote-chrome-test
<<: *ruby
<<: *chrome
- env: MARIONETTE=1 TASK=//rb:remote-firefox-test
<<: *ruby
<<: *firefox-latest
- env: TASK=//rb:docs
<<: *ruby
- env: TASK=//rb:lint
<<: *ruby
install: ./scripts/travis/install.sh
before_script: ./scripts/travis/before_script.sh
script: travis_wait ./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
webhooks:
urls:
- secure: "T889SmDnNCj0fJeWkiX0TumHCnjowxpj5VoauVdTXyXT2R3Grjc6WPReQKw8qzQLxyvHWAip23RlYo2+bM5+zUz11jhQej5W+rk7et6AhVaz3UJiWDIqqaWBgQaB5RsbWzdBJTGukqv88Y0iCT4XHaXvY2stV7OxvkVg7wtQVSQ="
on_success: always
on_failure: always
on_start: always
on_cancel: always
on_error: always