Skip to content

Commit

Permalink
specify oraclejdk for travis image instead of installing it each time
Browse files Browse the repository at this point in the history
  • Loading branch information
lmtierney committed Jan 16, 2019
1 parent 3d9cad4 commit 97c9393
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ _bindings:
python: &python
language: python
python: "2.7"
jdk: oraclejdk8
ruby: &ruby
language: ruby
rvm: 2.0.0-p648
Expand Down Expand Up @@ -147,7 +148,6 @@ matrix:
<<: *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: travis_wait ./scripts/travis/script.sh
Expand Down
7 changes: 0 additions & 7 deletions scripts/travis/before_install.sh

This file was deleted.

5 changes: 2 additions & 3 deletions scripts/travis/before_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ set -ex

sh /etc/init.d/xvfb start

if [[ ! -z $TOXENV ]]; then
. jdk_switcher.sh && jdk_switcher use oraclejdk8
./go py_prep_for_install_release
if [[ ! -z $TOXENV ]]; then
./go py_prep_for_install_release
fi
4 changes: 0 additions & 4 deletions scripts/travis/script.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
set -ex

if [[ ! -z $TOXENV ]]; then
. jdk_switcher.sh && jdk_switcher use oraclejdk8
fi

if [[ $TOXENV == *"remote"* ]]; then
./go selenium-server-standalone
fi
Expand Down

0 comments on commit 97c9393

Please sign in to comment.