forked from uhlmanngroup/splinedist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
69 lines (63 loc) · 1.76 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
68
69
# As a general rule, the latest release of Keras is compatible with the latest
# release of TensorFlow as well as the previous release of TensorFlow (in most
# cases, it is actually compatible with several prior TF releases, but that is
# not guaranteed).
#
# -- https://github.com/keras-team/keras/issues/10440#issuecomment-397428200
language: python
# branches:
# only:
# - master
# - dev
env:
- TENSORFLOW='tensorflow<2' EXTRA=''
matrix:
include:
# TF 1
- os: linux
python: 3.6
env: TENSORFLOW='tensorflow<2' EXTRA='' INSTALL_FROM_SOURCE=1
- os: linux
python: 3.7
env: TENSORFLOW='tensorflow<2' EXTRA='' INSTALL_FROM_SOURCE=1
# TF 2
- os: linux
python: 3.6
env: TENSORFLOW='tensorflow' EXTRA='' INSTALL_FROM_SOURCE=1
- os: linux
python: 3.7
env: TENSORFLOW='tensorflow' EXTRA='' INSTALL_FROM_SOURCE=1
- os: linux
python: 3.8
env: TENSORFLOW='tensorflow' EXTRA='' INSTALL_FROM_SOURCE=1
#########################################################################
### additional tests in master: install from pypi
# TF 1
- os: linux
python: 3.6
if: branch = master
- os: linux
python: 3.7
if: branch = master
# TF 2
- os: linux
python: 3.6
env: TENSORFLOW='tensorflow' EXTRA=''
if: branch = master
- os: linux
python: 3.7
env: TENSORFLOW='tensorflow' EXTRA=''
if: branch = master
- os: linux
python: 3.8
env: TENSORFLOW='tensorflow' EXTRA=''
if: branch = master
install:
- pip install $TENSORFLOW $EXTRA
- if [[ -n $INSTALL_FROM_SOURCE ]]; then
pip install .;
else
pip install stardist;
fi;
script:
- pytest -v --durations=50 -m "not gpu";