diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9a735fe7600157e762b16b7321f930a5f16079d0..5712c954e0e24c092f7e99c4ebd349dcb1298e5e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,23 +12,19 @@ cache: - venv/ before_script: - - python --version # For debugging - - pip install virtualenv - - virtualenv venv - - source venv/bin/activate + - python3 --version # For debugging + - python3 -m pip install --upgrade pip test: script: - - python setup.py test + - python3 setup.py test - pip install tox flake8 # you can also use tox - tox -e py36,flake8 run: script: - - python setup.py bdist_wheel - # an alternative approach is to install and run: - - pip install dist/* - # run the command here + - python3 -m pip install --upgrade build + - python3 -m build artifacts: paths: - dist/*.whl