Add chromedriver to travis configuration

This commit is contained in:
Maciej Szlosarczyk 2018-07-09 10:54:24 +03:00
parent 1c09901466
commit c1dd115b28
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765

View file

@ -3,6 +3,13 @@ cache: bundler
env: env:
- DB=postgresql - DB=postgresql
bundler_args: --without development staging production bundler_args: --without development staging production
before_install:
- "wget -N http://chromedriver.storage.googleapis.com/2.40/chromedriver_linux64.zip -P ~/"
- "unzip ~/chromedriver_linux64.zip -d ~/"
- "rm ~/chromedriver_linux64.zip"
- "sudo mv -f ~/chromedriver /usr/local/share/"
- "sudo chmod +x /usr/local/share/chromedriver"
- "sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver"
before_script: before_script:
- "cp config/application-example.yml config/application.yml" - "cp config/application-example.yml config/application.yml"
- "cp config/database-travis.yml config/database.yml" - "cp config/database-travis.yml config/database.yml"