Commit ed9e1305 authored by nimrod's avatar nimrod
Browse files

Use the right Python version.

parent dee242b1
Loading
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -4,10 +4,10 @@ build-wheel:
  stage: build
  image: registry.shore.co.il/ci-images:python3
  before_script:
    - pip install docutils pygments setuptools
    - python3 -m pip install docutils pygments
  script:
    - python setup.py check --verbose --metadata --restructuredtext --strict
    - python setup.py bdist_wheel
    - python3 setup.py check --verbose --metadata --restructuredtext --strict
    - python3 setup.py bdist_wheel
  artifacts:
    paths:
      - dist/*.whl
@@ -25,7 +25,7 @@ install-wheel:
  variables:
    XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache"
  script:
    - pip install dist/*.whl
    - python3 -m pip install dist/*.whl
  needs:
    - job: build-wheel
      artifacts: true
@@ -38,7 +38,7 @@ pypi-upload:
  stage: deploy
  image: registry.shore.co.il/ci-images:python3
  before_script:
    - pip install twine
    - python3 -m pip install twine
  script:
    - twine check dist/*
    - twine upload --config-file "$pypirc" dist/*