Commit d23ef4fc authored by Arkadiusz Hiler's avatar Arkadiusz Hiler
Browse files

CI: Remove Python 2 leftovers


Signed-off-by: default avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
parent ef7e8499
Pipeline #72758 passed with stages
in 5 minutes and 24 seconds
......@@ -24,8 +24,8 @@ containers:patchwork-testing:
test:
script:
- python3 -V
- python2 -V
- npm --version
- chromium --version
- chromedriver --version
- ./tests/test_all.sh
- tox --recreate
- ./tests/test_js.sh
......@@ -4,8 +4,7 @@ ENV CHROME_BIN /usr/bin/chromium
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get -qq update
RUN apt-get -qq install python-virtualenv python3-virtualenv python-pip python3-pip
RUN apt-get -qq install python3-virtualenv python3-pip tox
RUN apt-get -qq install chromium chromium-driver nodejs npm
RUN npm install -g jshint jasmine-core karma karma-jasmine karma-chrome-launcher
#!/bin/bash -e
script_dir=$(cd `dirname $0`; pwd)
root_dir=`dirname $script_dir`
tests_dir=$root_dir/tests
update_virtualenv()
{
directory=$1
requirements=$2
[ -d "$directory" ] || virtualenv "$directory"
source $directory/bin/activate
pip install -r $requirements
}
update_virtualenv venv $tests_dir/requirements.txt
tox --recreate
$tests_dir/test_js.sh
deactivate
[tox]
minversion = 1.6
envlist = py37-django111, pep8
envlist = py37-django22, pep8
skipsdist = True
[testenv]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment