forked from Xi-CAM/Xi-cam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
56 lines (49 loc) · 1.76 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
56
matrix:
include:
- os: linux
language: python
python: 3.7
services:
- xvfb
before_install:
- python --version
- pip install --upgrade pip
- export DISPLAY=:99.0
after_success:
- pip install .[docs]
- "(cd docs && make html)"
- bash <(curl -s https://codecov.io/bash)
- os: windows
language: shell
before_install:
- choco install python --version 3.7.5
after_script:
- pyinstaller --clean --onefile --noconsole --paths C:\Windows\System32\downlevel Xi-cam.spec
env: PATH=/c/Python37:/c/Python37/Scripts:$PATH
env: TRAVIS=True
cache:
apt: true
pip: true
addons:
apt:
packages:
- qtbase5-dev
before_install:
- python --version
install:
- pip install --upgrade attrs>=17.4.0
- pip install --upgrade setuptools wheel
- pip install .[pyqt5,tests,freeze]
script:
- 'pylint xicam --errors-only || :'
- 'pytest --cov=xicam --cov-config=.coveragerc . || :'
deploy:
skip_cleanup: true
provider: pypi
user: ronpandolfi
password:
secure: "Xr2q5cQC917n6f1Q7GxcEp3XprYGQSu8cth0ce8axVdDnx76dMU21TNuj7ojc/eiywWmuuW48Tu+quZhr1+N26AEwmb4ZVYZX+nZdWj5Vhlgj4Au7NScHobV5hMCa0pGh916Z+aYD1V96/90khwoRZ+LMijOzGtB8A3CwEIPHKjsNZ4BXmjjGys3iQe7MlESflmuFr/jDX93hA9QbMeNUhC3Tm/6yEvjrlH6pMxLtPx8UN4wY82V5vC4KH7zh/OK4XO8FQCG7kf9ZFHYC0VS1I8qsxpBhn67wDSpGi0Lde26kJox4FcNhYQUu/zfRHSmJ5zoMFFpUWOEKzUOd/T/NcX0Lr8QiiZZ+Sjauq2Bb6t2uFHHKKvwXQTqKIGMD5Zj+yvUaOIr0ViX8Zh9lEjJ2QiDmLdBczK45JKUZLmc7ybsB/EQDjZb7cWji5G/f1ZsMmkmqcSLmPB+L8jLhLzebe4BkplqKFEhk1TE5k7DvT7WkGzsn1r+U8RNibBs/iJAXpnhzxqxGuvToWjJropuOjF/Qzi4hf9v/ZrG+dyTDwkeiEO1yfYiJhfYW3b8C2y4xFJz5APQ0PZ0rEJoiI5Ie/uEIeUYWuQjDMWgI0uGW+ZqhboguhF6Mg52MLM8GkP9d6/wflRMaBLb8Jl5gFtxE1NezPANdsEiftCcNbHpuBY="
distributions: sdist bdist_wheel bdist_egg
on:
tags: true
os: linux