Skip to content

Commit 4cc73a0

Browse files
committed
Add chrome addon, and install chromedriver
1 parent 97ba80d commit 4cc73a0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
language: python
22
dist: xenial
33
sudo: true
4+
addons:
5+
chrome: stable
6+
apt:
7+
packages:
8+
- chromium-chromedriver
49
services:
510
- postgresql
611
python:
@@ -32,6 +37,8 @@ matrix:
3237
- env: DJANGO='--pre django'
3338
fast_finish: true
3439
before_script:
40+
# Add link to ChromeDriver in PATH
41+
- ln --symbolic /usr/lib/chromium-browser/chromedriver "${HOME}/bin/chromedriver"
3542
- psql -c 'CREATE DATABASE orderable' -U postgres;
3643
install:
3744
- pip install $DJANGO

0 commit comments

Comments
 (0)