Skip to content

Commit

Permalink
ci: version passed in to Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii committed Jul 16, 2020
1 parent db95672 commit 2c91dd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ git:
branches:
only:
- master
- travisci
- "/^v\\d+\\.\\d+(\\.\\d+)?(-\\S*)?$/"

jobs:
Expand All @@ -28,9 +29,8 @@ install:
- python3 -m pip install cibuildwheel==1.5.2

script:
- git fetch --unshallow
- sed -i '/numpy/d' pyproject.toml
- python3 -m cibuildwheel --output-dir dist
- CIBW_ENVIRONMENT="SETUPTOOLS_SCM_PRETEND_VERSION=\"$TRAVIS_TAG\"" python3 -m cibuildwheel --output-dir dist

deploy:
provider: pypi
Expand Down

0 comments on commit 2c91dd3

Please sign in to comment.