Skip to content

Commit

Permalink
Ref #38 trying to make working build pypi
Browse files Browse the repository at this point in the history
Signed-off-by: Krzysztof Kaźmierczyk <[email protected]>
  • Loading branch information
kkazmierczyk committed Dec 23, 2024
1 parent 1f64b34 commit d410e2a
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ python:
before_install:
- pip install -U pytest
- pip install -U build
- pip install --upgrade twine
# - pip install codecov
install:
- pip install -r requirements.txt
Expand All @@ -18,15 +19,16 @@ env:
script:
# - pytest
- python -m build
#after_success:
after_success:
- python -m twine upload --repository testpypi dist/*
# - codecov
deploy:
provider: pypi
server: https://test.pypi.org
edge: true # opt in to dpl v2
skip_existing: true
script: build.sh
distributions: "sdist bdist_wheel"
on:
all_branches: true # For testing only. Comment once the script is running
#deploy:
# provider: pypi
# server: https://test.pypi.org
# edge: true # opt in to dpl v2
# skip_existing: true
# script: build.sh
# distributions: "sdist bdist_wheel"
# on:
# all_branches: true # For testing only. Comment once the script is running
# tags: true # Uncomment this line to publish when the tag is created

0 comments on commit d410e2a

Please sign in to comment.