Skip to content

Commit

Permalink
Merge pull request #223 from ricardobranco777/update_e2e_test
Browse files Browse the repository at this point in the history
Update requirements.txt. Minor fixes
  • Loading branch information
MalloZup authored Oct 29, 2020
2 parents 5425997 + 7a61cd8 commit 1046858
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 22 deletions.
7 changes: 2 additions & 5 deletions e2e_test/.travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
language: python

services:
- docker

dist: xenial
dist: focal

python:
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "3.9"

install:
- pip install -r requirements-test.txt
Expand Down
3 changes: 1 addition & 2 deletions e2e_test/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ RUN zypper -n install -y --no-recommends \
MozillaFirefox-branding-upstream \
chromium \
file \
python3 \
python3-paramiko \
python3-PyVirtualDisplay \
python3-selenium \
Expand All @@ -25,7 +24,7 @@ RUN zypper -n install -y --no-recommends \
tar \
wget && \
zypper -n clean -a && \
wget -O- https://github.com/mozilla/geckodriver/releases/download/v0.26.0/geckodriver-v0.26.0-linux64.tar.gz | tar zxf - -C /usr/local/bin/
wget -O- https://github.com/mozilla/geckodriver/releases/download/v0.27.0/geckodriver-v0.27.0-linux64.tar.gz | tar zxf - -C /usr/local/bin/

RUN chmod +x /usr/local/bin/*

Expand Down
4 changes: 0 additions & 4 deletions e2e_test/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
test:
@flake8 --ignore=E501
@pylint --ignored-modules=distutils *.py

test-docker:
@docker build -t hawk_test -f Dockerfile.alpine .
@docker run --rm hawk_test --help
2 changes: 1 addition & 1 deletion e2e_test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Notes:
- [Geckodriver](https://github.com/mozilla/geckodriver/releases)
- Chromium (optional)
- [Chromedriver](https://chromedriver.chromium.org/downloads) (optional)
- Python 3
- Python 3.6+
- Python packages:
- paramiko
- selenium
Expand Down
20 changes: 10 additions & 10 deletions e2e_test/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
bcrypt==3.1.7
cffi==1.13.1
cryptography==2.8
EasyProcess==0.2.7
paramiko==2.6.0
pycparser==2.19
PyNaCl==1.3.0
PyVirtualDisplay==0.2.4
bcrypt==3.2.0
cffi==1.14.3
cryptography==3.2
EasyProcess==0.3
paramiko==2.7.2
pycparser==2.20
PyNaCl==1.4.0
PyVirtualDisplay==1.3.2
selenium==3.141.0
six==1.12.0
urllib3==1.25.6
six==1.15.0
urllib3==1.25.11

0 comments on commit 1046858

Please sign in to comment.