Skip to content

Commit

Permalink
ci: Travis fix, workaround Windows cibw (#394)
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii authored Jul 6, 2020
1 parent f78d296 commit 7a7c045
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@ branches:
only:
- master
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/
- henryiii/gha-test

env:
global:
- TWINE_USERNAME=__token__
# Set TWINE_PASSWORD in Travis UI
- CIBW_BUILD_VERBOSITY=1

jobs:
include:
Expand All @@ -27,7 +25,7 @@ install:

script:
- sed -i '/numpy/d' pyproject.toml
- travis_wait python3 -m cibuildwheel --output-dir dist
- CIBW_BUILD_VERBOSITY=1 python3 -m cibuildwheel --output-dir dist


deploy:
Expand Down
6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
requires = [
"setuptools>=42",
"wheel",
"numpy==1.13.3; python_version<='3.6'",
"numpy==1.14.5; python_version=='3.7'",
"numpy==1.17.3; python_version>='3.8'",
"setuptools_scm[toml]>=3.4,!=4.0.0"
"numpy",
"setuptools_scm[toml]>=4.1.2"
]

build-backend = "setuptools.build_meta"
Expand Down

0 comments on commit 7a7c045

Please sign in to comment.