-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
40 lines (40 loc) · 1.42 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
language: python
python:
- '3.6'
branches:
only:
- master
sudo: false
cache:
apt: true
pip: true
directories:
addons:
apt:
packages:
- qtbase5-dev
install:
- pip install coveralls pytest
- pip install .
script:
- pip install pylint
- 'pylint xicam --errors-only || :'
- pip install coverage
- sh -e /etc/init.d/xvfb start
- sleep 3
- 'pytest . || :'
- python setup.py install
after_success:
- cd /home/travis/build/lbl-camera/Xi-cam
- pip install codecov --upgrade # add coverage integration service
- codecov
- pip install coveralls --upgrade # add another coverage integration service
- coveralls
deploy:
provider: pypi
user: ronpandolfi
password:
secure: haHlA42xpImPu1kyaRYNk8Nx0wsT+2/XyehCKZz1Qvdb1p0NhtO/Ux/UkE6a54gBgSmzWYA4aLr/9p/I1PWzIdcmSH7DzzcLepqWxvhgzfLlvSeeUgsaGn9LgIShT4i1awoWMb4ZWKDX4qGdT68SsjlaVTyj+rMSNIod/dit5+HFmY4PaE/DHyXtPcEEzfVOHRH+FzjU4ZU7fv2fgToOcT3q2Gx7wQAZSEIZzKt3O0p0YpxpfPNvj/HlaJpHf/Fd0MoJEg16ZGTtRvnDXK0/BliD2u5bzeIQHGULmfKGigm11wMHwZsszI8a2zumbIoXX4Qa3MGnrjGDPhbn1FcfJV/x5GxsVo91BZHOzRIENc1JJI1eQ1K0+h6rGGOeO6u3G7jk8FT27XpJ9fbeeKTE0jz8UWWTBB6iui/5Bn+fKLyIa8OzM9lEQcxirqM/Y/DcRFL2wrvVRNzzQ/inM9aBT11cTzCbUU8wPijg2jxKb8+yM2ikfVbro7dDN795FX8paluukewGlhh3lPmgRCb3nECCZeaC7R+HzkoeudciJPuWQaCuPfZmboYnHzE8Evf/guAp0bVDT1nKv6aehc3sl3pavu+rmnLtQKl9y1rQmnVHzBe4TjUykE273Cejl55mbp/uVxJDbF34ikTyhnZ0W3s9290NzTabL83d70N4dW0=
distributions: sdist bdist_wheel bdist_egg
on:
tags: true