forked from PyWavelets/pywt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
59 lines (55 loc) · 1.39 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# After changing this file, check it on:
# http://lint.travis-ci.org/
language: python
sudo: false
matrix:
include:
- python: 2.7
env:
- PYFLAKES=1
- PEP8=1
- NUMPYSPEC=numpy
before_install:
- pip install pep8==1.5.1
- pip install pyflakes
script:
- 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
- pep8 pywt demo
- python: 3.5
env:
- NUMPYSPEC=numpy
- python: 3.4
env:
- NUMPYSPEC=numpy
- python: 3.3
env:
- NUMPYSPEC=numpy
- python: 2.6
env:
- OPTIMIZE=-OO
- NUMPYSPEC="numpy==1.7.2"
- python: 2.7
env:
- NUMPYSPEC="--upgrade git+git://github.com/numpy/[email protected]"
addons:
apt:
packages:
- ccache
cache:
directories:
- $HOME/.ccache
before_install:
- export PATH=/usr/lib/ccache:$PATH
- uname -a
- free -m
- df -h
- ulimit -a
# Speed up install by not compiling Cython
- travis_retry pip install --install-option="--no-cython-compile" Cython==0.22
- travis_retry pip install $NUMPYSPEC
- travis_retry pip install nose
- pip install coverage
- python -V
- set -o pipefail
script:
- python -u $OPTIMIZE runtests.py -g -m full --coverage