This repository has been archived by the owner on Nov 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
49 lines (48 loc) · 1.48 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
notifications:
email: false
dist: xenial
sudo: required
language: python
python: "2.7_with_system_site_packages"
addons:
apt:
packages:
- cython
- python2.7-dev
- python-chaco
- python-numpy
- python-scipy
- python-wxgtk3.0
- r-base
- r-recommended
- r-cran-lme4
services:
- xvfb
install:
# remove all packages that are part of the current virtualenv
- pip freeze -l | xargs pip uninstall -y
- rm -rf .cache
# install binary packages
- travis_retry pip install --upgrade pip setuptools wheel
# install all dependencies
# dependencies for chaco
- travis_retry pip install simplejson kiwisolver reportlab
# package and testing dependencies (due to pinned numpy version
# in Shape-Out, these must be installed together)
- travis_retry pip install . coverage codecov
# install special dependencies (latest libs)
- travis_retry pip install git+git://github.com/ZELLMECHANIK-DRESDEN/dclab.git
- travis_retry pip install git+git://github.com/ZELLMECHANIK-DRESDEN/fcswrite.git
# download ffmpeg
- travis_retry imageio_download_bin ffmpeg
# more-itertools 6.0.0 has a syntax error (dependency for coverage)
- travis_retry pip install more-itertools==5.0.0
- pip freeze
script:
# fixes (zipp now requires python 3.6+ but did not tell pyPI):
# pkg_resources.DistributionNotFound: The 'zipp>=0.5' distribution was not found and is required by importlib-metadata
- pip install "zipp==1.0.0"
- coverage run --source=shapeout ./setup.py test
- coverage report -m
after_success:
- codecov