Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.

Commit

Permalink
Print pip list during build and test phases
Browse files Browse the repository at this point in the history
  • Loading branch information
hmaarrfk committed Oct 29, 2019
1 parent a29926e commit 20243f0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 16 deletions.
7 changes: 3 additions & 4 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ environment:
DAILY_COMMIT: master

matrix:
- PYTHON: C:\Python36
- PYTHON: C:\Python36-x64
- PYTHON: C:\Python37
- PYTHON: C:\Python37-x64

init:
- "ECHO \"%APPVEYOR_SCHEDULED_BUILD%\""
Expand Down Expand Up @@ -54,7 +51,8 @@ install:
# Install the build dependencies of the project.
- pip install %NP_TEST_DEP%
- pip install -r requirements\build.txt
- python setup.py bdist_wheel
- pip list
- python setup.py bdist_wheel -vv
- ps: |
# Upload artifact to Appveyor immediately after build
ls dist -r | Foreach-Object {
Expand All @@ -80,6 +78,7 @@ test_script:
# Check Python version just in case
- python --version
# Run unit tests with pytest
- pip list
- pytest --pyargs skimage
- cd ..

Expand Down
11 changes: 0 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,10 @@ matrix:
env:
- MB_PYTHON_VERSION=3.6
- PLAT=i686
- os: linux
env:
- MB_PYTHON_VERSION=3.7
- os: linux
env:
- MB_PYTHON_VERSION=3.7
- PLAT=i686
- os: osx
language: generic
env:
- MB_PYTHON_VERSION=3.6
- os: osx
language: generic
env:
- MB_PYTHON_VERSION=3.7

before_install:
- if [ "$TRAVIS_BRANCH" == "master" ]; then
Expand Down
4 changes: 3 additions & 1 deletion config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,20 @@ function pre_build {

function pip_opts {
# Define extra pip arguments
echo "--prefer-binary --find-links $EXTRA_WHEELS_URL"
echo "--prefer-binary --find-links $EXTRA_WHEELS_URL"
}

function build_wheel {
# Horrible set of build requirements installs too-recent numpy when using
# default pip wheel command
pip list
build_bdist_wheel $@
}

function run_tests {
# Runs tests on installed distribution from an empty directory
python --version
echo "backend : agg" > matplotlibrc
pip list
pytest --pyargs skimage
}

0 comments on commit 20243f0

Please sign in to comment.