Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 97879bf

Browse files
authored
Merge pull request #13 from charris/fix-windows-testing
BUG: Make windows build fail when tests fail.
2 parents 57f7146 + 554508c commit 97879bf

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

appveyor.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ max_jobs: 100
88
cache:
99
- '%LOCALAPPDATA%\pip\Cache'
1010

11+
# Test script
12+
test: "import numpy; import sys; \
13+
success = numpy.test(verbose=3).wasSuccessful(); \
14+
sys.exit(not success)"
15+
1116
environment:
1217
global:
1318
MINGW_32: C:\mingw-w64\i686-6.3.0-posix-dwarf-rt_v5-rev1\mingw32\bin
@@ -158,7 +163,7 @@ test_script:
158163
- pip install nose
159164
- cd ..
160165
- python check_license.py
161-
- python -c "import numpy; numpy.test(verbose=3)"
166+
- python -c "%test%"
162167

163168
after_test:
164169
# Upload test results to Appveyor

windows-wheel-builder

0 commit comments

Comments
 (0)