Skip to content

Commit 8e76b8d

Browse files
updating dockerfile to install axe-core from node
1 parent 688acf1 commit 8e76b8d

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@ __pycache__
1313
.cache/
1414
.tox
1515
*.log
16-
assets/
1716
*.json
17+
node_modules
1818
!axe_selenium_python/package.json
1919
!axe_selenium_python/package-lock.json
2020
build/
2121
update.sh
22-
node_modules

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ cache:
1717
before_install: docker build -t axe-selenium-python .
1818
install: skip
1919
script:
20-
- docker run -e TOXENV=$TOXENV axe-selenium-python tox
20+
- docker run -e TOXENV=$TOXENV axe-selenium-python tox
2121
notifications:
2222
email: fte-ci@mozilla.com
2323

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
FROM node:alpine
2+
ADD ./axe_selenium_python/package*.json ./src/axe_selenium_python/
3+
WORKDIR /src/axe_selenium_python
4+
RUN npm install
5+
16
FROM ubuntu:xenial
27

38
ENV DEBIAN_FRONTEND=noninteractive \
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
pytest==3.7.3
1+
pytest==3.8.0
22
selenium==3.14.0
33
pytest-html==1.19.0

0 commit comments

Comments
 (0)