mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 18:26:06 +02:00
Add chromedriver to travis configuration
This commit is contained in:
parent
1c09901466
commit
c1dd115b28
1 changed files with 7 additions and 0 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue