Skip to content

Commit aa8d7c2

Browse files
committed
Let's try to use more buck on travis
1 parent 3bc25cc commit aa8d7c2

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

.buckconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,10 @@
5050
# Tests
5151
chrome-test = //java/client/test/org/openqa/selenium/chrome:chrome
5252
firefox-test = //java/client/test/org/openqa/selenium/firefox:marionette
53+
legacy-firefox-test = //java/client/test/org/openqa/selenium/firefox:test-synthesized
54+
internal-grid-test = //java/server/test/org/openqa/grid/common:common //java/server/test/org/openqa/grid:grid //java/server/test/org/openqa/grid/e2e:e2e
5355
grid-test = //java/client/test/org/openqa/selenium/remote:remote-driver-grid-tests
5456
htmlunit-test = //java/client/test/org/openqa/selenium/htmlunit:htmlunit
57+
ie-test = //java/client/test/org/openqa/selenium/ie:ie
58+
opera-test = //java/client/test/org/openqa/selenium/opera:opera
59+
java-small-tests = //java/client/test/org/openqa/selenium:small-tests //java/client/test/org/openqa/selenium/json:small-tests //java/client/test/org/openqa/selenium/support:small-tests //java/client/test/org/openqa/selenium/remote:common-tests //java/client/test/org/openqa/selenium/remote:client-tests //java/server/test/org/openqa/grid/selenium/node:node //java/server/test/org/openqa/grid/selenium/proxy:proxy //java/server/test/org/openqa/selenium/remote/server:small-tests //java/server/test/org/openqa/selenium/remote/server/log:test

.travis.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,30 +66,28 @@ matrix:
6666
<<: *python
6767
<<: *firefox-nightly
6868
include:
69-
- env: TASK=build
69+
- 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-tests"
7070
<<: *java
71-
- env: BUCK="build selenium-server-standalone"
72-
<<: *java
73-
- env: TASK=//java/client/test/org/openqa/selenium/atoms:test:run
71+
- env: BUCK="test //java/client/test/org/openqa/selenium/atoms:test"
7472
<<: *java
7573
- 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"
7674
<<: *java
7775
<<: *chrome
7876
- 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"
7977
<<: *java
8078
<<: *firefox-latest
81-
- env: TASK=//java/client/test/org/openqa/selenium/firefox:test-synthesized:run
79+
- env: BUCK="test legacy-firefox-test"
8280
<<: *java
8381
<<: *firefox-esr
84-
- env: MARIONETTE=1 TASK=//java/client/test/org/openqa/selenium/firefox:marionette:run
82+
- env: MARIONETTE=1 BUCK="test firefox-test"
8583
<<: *java
8684
<<: *firefox-nightly
87-
- env: TASK=test_java_small_tests
85+
- env: BUCK="test java-small-tests"
8886
<<: *java
89-
- env: MARIONETTE=1 TASK=test_grid
87+
- env: MARIONETTE=1 BUCK="test internal-grid-test grid-test"
9088
<<: *java
9189
<<: *firefox-nightly
92-
- env: TASK=test_htmlunit
90+
- env: BUCK="test htmlunit-test"
9391
<<: *java
9492
- env: TASK=javadocs
9593
<<: *java

0 commit comments

Comments
 (0)