Skip to content

Commit

Permalink
move webdriver version env vars to be exports in before_install
Browse files Browse the repository at this point in the history
because the `env` section is more for doing travis matrix builds
  • Loading branch information
rbuels committed Feb 17, 2018
1 parent 9b5d1b4 commit 772b8fe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Expand Up @@ -12,8 +12,6 @@ addons:
- libgd2-noxpm-dev
firefox: '58.0'
chrome: stable
env:
- GECKODRIVER_VERSION=0.19.1 CHROMEDRIVER_VERSION=2.35
cache:
directories:
- extlib/
Expand All @@ -23,6 +21,10 @@ cache:
- "$HOME/.nvm/"
- "$HOME/geckodriver_$GECKODRIVER_VERSION"
- "$HOME/chromedriver_$CHROMEDRIVER_VERSION"
before_install:
# not using travis `env` for these because `env` is more for doing matrix builds with different environments
- export GECKODRIVER_VERSION=0.19.1
- export CHROMEDRIVER_VERSION=2.35
install:
- |
if [[ ! -f ~/geckodriver_$GECKODRIVER_VERSION/geckodriver ]]; then
Expand Down

0 comments on commit 772b8fe

Please sign in to comment.