-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
53 lines (46 loc) · 2.33 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
language: python
python:
- 2.7
#- 3.3
#- 3.4
#- 3.5
sudo: false
cache:
directories:
- $HOME/.pip-cache/
notifications:
email:
- pohl@physik.uni-bonn.de
install:
# Use Miniconda python to have precompiled QT for user space
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda update --yes conda
- conda install --yes pyqt pyyaml pyzmq blosc psutil numpy coverage cython pytables future nose docutils
- pip install xvfbwrapper # fake x server for Qt gui tests
- pip install coveralls # coverage testing
# Install instructions valid for all python distributions
- pip install https://github.com/SiLab-Bonn/pyBAR_mimosa26_interpreter/archive/master.zip
- pip install https://github.com/SiLab-Bonn/pyqtgraph/archive/develop.zip # Until working release is published
- pip install --upgrade pip
- pip install -r requirements.txt --cache-dir $HOME/.pip-cache
- python setup.py develop
script:
# Hack to allow tests coverage in multi processes, http://coverage.readthedocs.org/en/latest/subprocess.html
- export COVERAGE_PROCESS_START=$PWD/.coveragerc
- touch $HOME/miniconda/lib/python2.7/site-packages/converage.pth
- printf "import coverage; coverage.process_startup()" > $HOME/miniconda/lib/python2.7/site-packages/converage.pth
- nosetests --with-coverage --cover-package=silab_online_monitor
after_success:
- coveralls
deploy:
provider: pypi
user: DavidLP
password:
secure: EOfeXP4oyoNLY8Ot2/pX3k2Acvk5Xn0VkBeqXHND/rjm4iveUGrLbMDOffDnvkFgSYQ6PO/UqZjSb8vPd5nQ1Uhw8YyEhXUTPVWOz7ebq/xOmI8DIpFQH24/u7K3D9ygm7mlN3ozz9/6Gvk2VXk8OUT8csMtIJ586FnNBFdq0XVXzneHx6Ppr4GvAvh5Li5dd0ZqL1Cd2JZZyhWbQzidJgBkU1NOD7pRmEPh7dfG23rOEuzHQPyip8PKw86ErbjRD6WevjyFsetT66je3G8+ZSvJIDNVQ95oohhBZ7bRA+VwHnt2MdWxBYSAq7ZxbNmcs5LsvuNiJRyGo9Iue97yKI/EX0GzK/mA0pO/kdu0n1BzXxVePtxBOxLgzmEKs2S0IV45zdlAIfOjs7gLM8mHjiFC6oFuDddKPp5dYRMpOERt3jfQVBbSWpGkN4tcwXZ/1xMm1IxTaU06YQMLKtRqo2N5k9aWMSsvFfagQ44WW658ra/15TdaZyniBCiYQ0a3NDYEpjZX4n4Sh0JDcGqlyOJcpcq+gl2NaIADX+X6Qoe6C7s036LowfoTDh83X72hjvm8smrdGL1op7DQo3dGxwU6FRvf78Qw528v2CkrdTHzIOr5IEuZkh+xGiGJE2UDTwHdq/nAr+O79s2yAakvf/DL/s8ZU+MvZ21dobtnLAg=
on:
tags: true
repo: SiLab-Bonn/silab_online_monitor
distributions: "sdist bdist_wheel"