File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 102
102
103
103
# Browsers:
104
104
- COMPOSE_APP=chrome PYTHON_VERSION=3.5
105
+ - COMPOSE_APP=firefox PYTHON_VERSION=3.5
105
106
106
107
before_install :
107
108
- echo 'DOCKER_OPTS="${DOCKER_OPTS} --registry-mirror=https://mirror.gcr.io"' | sudo tee -a /etc/default/docker
@@ -111,7 +112,7 @@ install:
111
112
- pip install docker-compose --upgrade
112
113
113
114
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
115
116
- export DJANGO_PATH=/tmp/django
116
117
- docker-compose pull --include-deps $COMPOSE_APP || true
117
118
- docker-compose build --pull $COMPOSE_APP
Original file line number Diff line number Diff line change @@ -171,6 +171,19 @@ services:
171
171
volumes :
172
172
- /dev/shm:/dev/shm
173
173
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
+
174
187
175
188
volumes :
176
189
oracle :
You can’t perform that action at this time.
0 commit comments