Skip to content

Commit 918e3d0

Browse files
committed
Re-add firefox
1 parent 4c2ea6a commit 918e3d0

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ env:
102102

103103
# Browsers:
104104
- COMPOSE_APP=chrome PYTHON_VERSION=3.5
105+
- COMPOSE_APP=firefox PYTHON_VERSION=3.5
105106

106107
before_install:
107108
- echo 'DOCKER_OPTS="${DOCKER_OPTS} --registry-mirror=https://mirror.gcr.io"' | sudo tee -a /etc/default/docker
@@ -111,7 +112,7 @@ install:
111112
- pip install docker-compose --upgrade
112113

113114
script:
114-
- git clone https://github.com/orf/django.git -b add-selenium-hub --depth=1 /tmp/django
115+
- git clone https://github.com/django/django.git --depth=1 /tmp/django
115116
- export DJANGO_PATH=/tmp/django
116117
- docker-compose pull --include-deps $COMPOSE_APP || true
117118
- docker-compose build --pull $COMPOSE_APP

docker-compose.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,19 @@ services:
171171
volumes:
172172
- /dev/shm:/dev/shm
173173

174+
# Firefox tests fail on master
175+
firefox:
176+
<<: *base
177+
command: --selenium=firefox --selenium-hub=http://firefox-browser:4444/wd/hub
178+
environment:
179+
- WAIT_FOR=firefox-browser:4444
180+
depends_on:
181+
- firefox-browser
182+
firefox-browser:
183+
image: selenium/standalone-firefox
184+
volumes:
185+
- /dev/shm:/dev/shm
186+
174187

175188
volumes:
176189
oracle:

0 commit comments

Comments
 (0)