-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (35 loc) · 954 Bytes
/
.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
# After changing this file, check it on:
# http://lint.travis-ci.org/
language: python
sudo: false
matrix:
include:
- python: 2.7
env:
- UPGRADE=
- python: 3.5
env:
- UPGRADE="--upgrade"
- python: 2.7
env:
- UPGRADE="--upgrade"
- HAVE_SCIPY=1
- SPARR_DEBUG=1
- python: 3.5
env:
- HAVE_SCIPY=1
- SPARR_DEBUG=1
before_install:
- travis_retry pip install --install-option="--no-cython-compile" Cython>=0.23.4
- travis_retry pip install nose
- travis_retry pip install $UPGRADE numpy
- |
if [ "${HAVE_SCIPY}" == "1" ]; then
travis_retry pip install scipy --timeout 60 --trusted-host travis-wheels.scikit-image.org -f http://travis-wheels.scikit-image.org/
fi
script:
- python -c'import numpy as np; print(np.__version__)'
- python setup.py build_ext -i
- nosetests sparr/tests -v
notifications:
email: false