.gitlab-ci.yml 387 Bytes
Newer Older
1
stages:
2
  - build
3 4

build_wheel:
5
  stage: build
6 7 8 9 10 11
  image: python:latest
  variables:
    PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
  cache:
    paths:
      - .cache/pip
12 13 14
  script:
    - python setup.py sdist bdist_wheel
    - pip install twine
15
    - twine upload --verbose --disable-progress-bar --repository-url $TWINE_URL -u $TWINE_USER -p $TWINE_PASS dist/pcigale*.whl
16
  when: manual