You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .travis.yml
+22-4Lines changed: 22 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -22,14 +22,17 @@ matrix:
22
22
script:
23
23
- PYFLAKES_NODOCTEST=1 pyflakes pywt demo | grep -E -v 'unable to detect undefined names|assigned to but never used|imported but unused|redefinition of unused' > test.out; cat test.out; test \! -s test.out
24
24
- pep8 pywt demo
25
-
26
25
- python: 3.5
27
26
env:
28
27
- NUMPYSPEC=numpy
29
-
- python: 3.4
28
+
- USE_WHEEL=1
29
+
- os: linux
30
+
python: 3.4
30
31
env:
31
32
- NUMPYSPEC=numpy
32
-
- python: 2.6
33
+
- USE_SDIST=1
34
+
- os: linux
35
+
python: 2.6
33
36
env:
34
37
- NUMPYSPEC="numpy==1.9.3"
35
38
- python: 2.7
@@ -54,6 +57,7 @@ before_install:
54
57
- pip install $NUMPYSPEC
55
58
- pip install Cython matplotlib nose coverage codecov futures
56
59
- set -o pipefail
60
+
- if [ "${USE_WHEEL}" == "1" ]; then pip install wheel; fi
57
61
- |
58
62
if [ "${REFGUIDE_CHECK}" == "1" ]; then
59
63
pip install sphinx numpydoc
@@ -62,7 +66,21 @@ before_install:
62
66
script:
63
67
# Define a fixed build dir so next step works
64
68
- |
65
-
if [ "${REFGUIDE_CHECK}" == "1" ]; then
69
+
if [ "${USE_WHEEL}" == "1" ]; then
70
+
# Need verbose output or TravisCI will terminate after 10 minutes
71
+
pip wheel . -v
72
+
pip install PyWavelets*.whl -v
73
+
pushd demo
74
+
nosetests pywt
75
+
popd
76
+
elif [ "${USE_SDIST}" == "1" ]; then
77
+
python setup.py sdist
78
+
# Move out of source directory to avoid finding local pywt
0 commit comments