forked from luispedro/mahotas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
58 lines (53 loc) · 1.1 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
sudo: required
dist: xenial
language: python
cache:
ccache: true
directories:
- $HOME/.ccache
- $HOME/miniconda
before_cache:
- ccache --show-stats
- ccache --zero-stats
python:
- "2.7"
- "3.5"
- "3.6"
- "3.7"
env:
global:
- USE_CCACHE=1
matrix:
- NUMPY_VERSION=1.10
- NUMPY_VERSION=1.11
- NUMPY_VERSION=1.12
- NUMPY_VERSION=1.13
- NUMPY_VERSION=1.14
- NUMPY_VERSION=1.15
- NUMPY_VERSION=1.16
# Some combinations seem to be missing on conda
matrix:
exclude:
- python: "3.5"
env: NUMPY_VERSION=1.16
- python: "3.6"
env: NUMPY_VERSION=1.10
- python: "3.7"
env: NUMPY_VERSION=1.10
- python: "3.7"
env: NUMPY_VERSION=1.12
- python: "3.7"
env: NUMPY_VERSION=1.13
before_install:
- .travis/travis_before_install.sh
install:
- export PATH=$HOME/miniconda/bin:$PATH
- export PATH=/usr/lib/ccache:$PATH
- .travis/travis_install.sh
script:
- source activate condaenv
- export DEBUG=2
- coverage run --source=mahotas setup.py test
after_success:
- source activate condaenv
- coveralls