forked from shapely/shapely
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
67 lines (58 loc) · 1.37 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
60
61
62
63
64
65
66
67
language: python
sudo: false
cache: pip
matrix:
include:
- python: "2.7"
env:
- SPEEDUPS=1
- NUMPY=1
- python: "2.7"
env:
- SPEEDUPS=0
- NUMPY=1
- python: "2.7"
env:
- SPEEDUPS=0
- NUMPY=0
- python: "3.4"
env:
- SPEEDUPS=1
- NUMPY=1
- python: "3.4"
env:
- SPEEDUPS=0
- NUMPY=1
- python: "3.6"
env:
- SPEEDUPS=1
- NUMPY=1
- python: "3.6"
env:
- SPEEDUPS=0
- NUMPY=1
- python: "3.6"
env:
- SPEEDUPS=0
- NUMPY=0
addons:
apt:
packages:
- libgeos-dev
before_install:
- pip install pip setuptools --upgrade
# if building with speedups install cython
- if [ "$SPEEDUPS" == "1" ]; then pip install --install-option="--no-cython-compile" cython; fi
# if testing without numpy explicitly remove it
- if [ "$NUMPY" == "0" ]; then pip uninstall --yes numpy; fi
# convert SPEEDUPS to --with-speedups/--without-speedups
- if [ "$SPEEDUPS" == "1" ]; then SPEEDUPS_FLAG=--with-speedups; else SPEEDUPS_FLAG=--without-speedups; fi
install:
- pip install -e .[all]
- pip install coveralls
script:
- "py.test --cov shapely --cov-report term-missing ${SPEEDUPS_FLAG}"
after_success:
- coveralls || echo "!! intermittent coveralls failure"
notifications:
email: false