-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
132 lines (127 loc) · 3.58 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
dist: xenial
services:
- xvfb
env:
global:
- PYTEST_ADDOPTS="--verbose --instafail"
- FF_NIGHTLY_BINARY=$HOME/firefox-latest-nightly/firefox/firefox-bin
git:
depth: 10
addons:
sonarcloud:
organization: "seleniumhq"
_bindings:
java: &java
language: java
jdk: openjdk11
if: env(BUILD_ONLY) IS NOT present || env(BUILD_ONLY) =~ /java/
python: &python
language: python
python: "2.7"
jdk: openjdk11
if: env(BUILD_ONLY) IS NOT present || env(BUILD_ONLY) =~ /python/
ruby: &ruby
language: ruby
rvm: 2.5
jdk: openjdk11
if: env(BUILD_ONLY) IS NOT present || env(BUILD_ONLY) =~ /ruby/
node: &node
language: node_js
node_js: node
if: env(BUILD_ONLY) IS NOT present || env(BUILD_ONLY) =~ /node/
_browsers:
firefox: &firefox-latest
addons:
firefox: latest
firefox-nightly: &firefox-nightly
addons:
firefox: latest-nightly
chrome: &chrome
addons:
apt:
packages:
- google-chrome-stable
cache:
directories:
- $HOME/.cache/bazel-repo
- $HOME/.cache/bazel-disk
- build
matrix:
exclude:
- env: BZL="test --test_tag_filters=htmlunit //java/..."
<<: *java
- env: CHROME=1 SELENIUM_BROWSER=chrome NPM=test
<<: *node
<<: *chrome
include:
- env: MARIONETTE=1 SELENIUM_BROWSER=firefox NPM=test
<<: *node
<<: *firefox-latest
- env: MARIONETTE=1 MOZ_HEADLESS=1 BZL="test --test_tag_filters=firefox //javascript/atoms/... //javascript/selenium-atoms/... //javascript/webdriver/..."
<<: *java
<<: *firefox-latest
- env: CHROME=1 BZL="test --test_tag_filters=chrome //javascript/atoms/... //javascript/selenium-atoms/... //javascript/webdriver/... //javascript/chrome-driver/..."
<<: *java
<<: *chrome
- env: TOXENV=flake8
<<: *python
python: 3.7
- env: TOXENV=docs
<<: *python
python: 3.7
- env: BZL="test //py:unit"
<<: *python
python: 3.7
- env: CHROME=1 BZL="test //py:test-chrome"
<<: *python
<<: *chrome
python: 3.7
- env: MARIONETTE=1 BZL="test --jobs 1 //py:test-remote"
<<: *python
<<: *firefox-nightly
python: 3.7
- env: MARIONETTE=1 BZL="test //py:test-firefox"
<<: *python
<<: *firefox-nightly
python: 3.7
- env: TASK=//rb:unit-test
<<: *ruby
- env: TASK=//rb:unit-test
<<: *ruby
rvm: jruby-9.2.6.0
- 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 60 ./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