Skip to content

Commit

Permalink
TST: rely on pyproject.toml to do numpy installation in test builds
Browse files Browse the repository at this point in the history
  • Loading branch information
qwhelan committed Jan 18, 2020
1 parent 445d376 commit 41ccd3c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy pytest flake8 hypothesis
pip install pytest flake8 hypothesis
- name: Build
run: |
python setup.py build_ext --inplace
pip install .
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ jobs:

# python 3.8 conda numpy
- os: linux
env: TEST_DEPS="numpy pytest hypothesis"
env: TEST_DEPS="pytest hypothesis"
PYTHON_VERSION="3.8"
PYTHON_ARCH="64"

# python 3.8 conda numpy + sdist
- os: linux
env: TEST_DEPS="numpy pytest hypothesis"
env: TEST_DEPS="pytest hypothesis"
PYTHON_VERSION="3.8"
PYTHON_ARCH="64"
TEST_RUN="sdist"
Expand All @@ -71,7 +71,7 @@ jobs:

# python 3.8
- os: osx
env: TEST_DEPS="numpy pytest hypothesis"
env: TEST_DEPS="pytest hypothesis"
PYTHON_VERSION="3.8"
PYTHON_ARCH="64"

Expand Down

0 comments on commit 41ccd3c

Please sign in to comment.