forked from CellProfiler/CellProfiler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
55 lines (55 loc) · 1.39 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
services:
- mysql
addons:
apt:
packages:
- cython
- libhdf5-serial-dev
- libwxgtk2.8-dev
- libgtk2.0-dev
- python-dateutil
- python-imaging
- python-lxml
- python-matplotlib
- python-mysqldb
- python-networkx
- python-numpy
- python-pandas
- python-pip
- python-scipy
- python-tk
- python-wxgtk2.8
env:
- LC_ALL="en_US.UTF-8" CP_MYSQL_TEST_HOST="127.0.0.1" CP_MYSQL_TEST_USER="travis" CP_MYSQL_TEST_PASSWORD="None"
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3
cache:
apt: true
directories:
- $HOME/.cache/pip
language: python
notifications:
email: false
python:
- 2.7
sudo: false
virtualenv:
system_site_packages: true
install:
- pip install --upgrade pip
- pip install --upgrade wheel
- pip install --upgrade pytest
- pip install --upgrade cython
- pip install joblib
- pip install scikit-learn
- pip install https://pypi.python.org/packages/source/s/scikit-image/scikit-image-0.12.3.tar.gz#md5=04ea833383e0b6ad5f65da21292c25e1
- pip install --no-deps pyzmq==13.1.0
- pip install --requirement requirements.txt
- pip install --editable git+https://github.com/h5py/h5py.git#egg=h5py
- pip install --editable git+https://github.com/CellH5/cellh5.git#egg=cellh5
- pip freeze
- pip install --no-deps .
script:
- python setup.py test -a -x