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
+29-5Lines changed: 29 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -16,28 +16,37 @@ matrix:
16
16
- PYFLAKES=1
17
17
- PEP8=1
18
18
- NUMPYSPEC=numpy
19
+
- MPLSPEC=matplotlib
19
20
before_install:
20
21
- pip install pep8==1.5.1
21
22
- pip install pyflakes
22
23
script:
23
24
- 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
25
- pep8 pywt demo
25
-
26
26
- python: 3.5
27
27
env:
28
28
- NUMPYSPEC=numpy
29
-
- python: 3.4
29
+
- MPLSPEC=matplotlib
30
+
- USE_WHEEL=1
31
+
- os: linux
32
+
python: 3.4
30
33
env:
31
34
- NUMPYSPEC=numpy
32
-
- python: 2.6
35
+
- MPLSPEC=matplotlib
36
+
- USE_SDIST=1
37
+
- os: linux
38
+
python: 2.6
33
39
env:
34
40
- NUMPYSPEC="numpy==1.9.3"
41
+
- MPLSPEC="matplotlib<2"
35
42
- python: 2.7
36
43
env:
37
44
- NUMPYSPEC=numpy
45
+
- MPLSPEC=matplotlib
38
46
- python: 3.5
39
47
env:
40
48
- NUMPYSPEC=numpy
49
+
- MPLSPEC=matplotlib
41
50
- REFGUIDE_CHECK=1 # run doctests only
42
51
43
52
cache: pip
@@ -52,8 +61,9 @@ before_install:
52
61
- pip install --upgrade wheel
53
62
# Set numpy version first, other packages link against it
54
63
- pip install $NUMPYSPEC
55
-
- pip install Cython matplotlib nose coverage codecov
64
+
- pip install Cython $MPLSPEC nose coverage codecov futures
56
65
- set -o pipefail
66
+
- if [ "${USE_WHEEL}" == "1" ]; then pip install wheel; fi
57
67
- |
58
68
if [ "${REFGUIDE_CHECK}" == "1" ]; then
59
69
pip install sphinx numpydoc
@@ -62,7 +72,21 @@ before_install:
62
72
script:
63
73
# Define a fixed build dir so next step works
64
74
- |
65
-
if [ "${REFGUIDE_CHECK}" == "1" ]; then
75
+
if [ "${USE_WHEEL}" == "1" ]; then
76
+
# Need verbose output or TravisCI will terminate after 10 minutes
77
+
pip wheel . -v
78
+
pip install PyWavelets*.whl -v
79
+
pushd demo
80
+
nosetests pywt
81
+
popd
82
+
elif [ "${USE_SDIST}" == "1" ]; then
83
+
python setup.py sdist
84
+
# Move out of source directory to avoid finding local pywt
0 commit comments