-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
37 lines (32 loc) · 1.26 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
language: python
# This (sudo: false) is needed to "run on container-based infrastructure" on
# which cache: is available
# http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
addons:
apt:
packages:
- zeroc-ice34
env:
global:
- ICE=Ice-3.5.1-b1-ubuntu1204-amd64
matrix:
- OMERO_VERSION=5.1
- OMERO_VERSION=5.2
- OMERO_VERSION=5.3
before_install:
- wget http://downloads.openmicroscopy.org/ice/experimental/${ICE}.tar.xz -O /tmp/${ICE}.tar.xz
- tar -xvf /tmp/${ICE}.tar.xz -C /tmp
- pip install omego
- omego download --ice 3.5 --release ${OMERO_VERSION} py
- rm OMERO.py*.zip
- mv OMERO.py* /tmp/OMERO.py
script:
- python setup.py flake8
- LD_LIBRARY_PATH=/tmp/${ICE}/lib PYTHONPATH=/tmp/${ICE}/python:/tmp/OMERO.py/lib/python python setup.py test
- python setup.py sdist install
- LD_LIBRARY_PATH=/tmp/${ICE}/lib PYTHONPATH=/tmp/${ICE}/python:/tmp/OMERO.py/lib/python python -c 'import omero.clients; from omero_reader import OmeroReader'
- pip uninstall -y omero-reader
- python setup.py bdist
- easy_install dist/*.egg
- LD_LIBRARY_PATH=/tmp/${ICE}/lib PYTHONPATH=/tmp/${ICE}/python:/tmp/OMERO.py/lib/python python -c 'import omero.clients; from omero_reader import OmeroReader'