Skip to content

Commit

Permalink
Attempt to fix Chrome on Travis (oppia#5382)
Browse files Browse the repository at this point in the history
* Attempt to fix Chrome on Travis

* Another attempt

* Another attempt

* Another attempt: Update chromedriver

* Run all tests on Travis
  • Loading branch information
apb7 authored and seanlip committed Jul 28, 2018
1 parent c1d63ba commit 4ae7e98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ language: python
python:
- 2.7

addons:
chrome: stable

branches:
only:
- master
Expand Down Expand Up @@ -69,6 +66,8 @@ before_install:
- export CHROME_BIN=/usr/bin/google-chrome-stable
- export DISPLAY=:99.0
- bash -e /etc/init.d/xvfb start
- wget --no-verbose -O /tmp/$(basename $CHROME_SOURCE_URL) $CHROME_SOURCE_URL
- sudo dpkg -i /tmp/$(basename $CHROME_SOURCE_URL)

install:
- pushd $TRAVIS_BUILD_DIR
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function maybeInstallDependencies {
install_node_module protractor-screenshot-reporter 0.0.5
install_node_module jasmine-spec-reporter 3.2.0

$NODE_MODULE_DIR/.bin/webdriver-manager update --versions.chrome 2.40
$NODE_MODULE_DIR/.bin/webdriver-manager update --versions.chrome 2.41
fi

if [ "$RUN_MINIFIED_TESTS" = "true" ]; then
Expand Down

0 comments on commit 4ae7e98

Please sign in to comment.