Skip to content

Commit

Permalink
Revert "Attempting to update apt and dpkg before installing other pac…
Browse files Browse the repository at this point in the history
…kages"

This reverts commit 355dd36.
  • Loading branch information
barancev committed Sep 15, 2019
1 parent 93e8407 commit b8e372d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,6 @@ matrix:
<<: *ruby
- env: TASK=//rb:lint
<<: *ruby
before_install:
- sudo apt-get update
- sudo apt-get install -y dpkg
install: ./scripts/travis/install.sh
before_script: ./scripts/travis/before_script.sh
script: travis_wait 40 ./scripts/travis/script.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ java_library(
"//common/src/web",
"//javascript/atoms",
"//third_party/closure/goog",
"//third_party/js/selenium:webdriver.json",
"//third_party/js/selenium:webdriver_json",
"//third_party/js/selenium:webdriver_xpi",
"//third_party/js/sizzle",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,11 @@ static void ensureAvailable() {
copy("javascript/webdriver/atoms/get-attribute.js",
"org/openqa/selenium/remote/getAttribute.js");

bazel.build("//third_party/js/selenium:webdriver.json");
// Firefox XPI
copy("third_party/js/selenium:webdriver.json",
copy("third_party/js/selenium/webdriver_prefs.json",
"org/openqa/selenium/firefox/webdriver_prefs.json");
bazel.build("third_party/js/selenium:webdriver_xpi");
copy("third_party/js/selenium:webdriver_xpi",
copy("third_party/js/selenium/webdriver.xpi",
"org/openqa/selenium/firefox/xpi/webdriver.xpi");
}

Expand Down
6 changes: 4 additions & 2 deletions third_party/js/selenium/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ copy_file(
],
)

exports_files(
["webdriver.json"],
copy_file(
name = "webdriver_json",
src = "webdriver.json",
out = "webdriver_prefs.json",
visibility = [
"//dotnet/src/webdriver:__pkg__",
"//java/client/src/org/openqa/selenium/firefox:__pkg__",
Expand Down

0 comments on commit b8e372d

Please sign in to comment.