generated from biolab/orange3-example-addon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (37 loc) · 928 Bytes
/
.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
language: python
dist: xenial
addons:
apt:
packages:
- libxkbcommon-x11-0 # for PyQt 5.12
- libxcb-icccm4
- libxcb-image0
- libxcb-keysyms1
- libxcb-randr0
- libxcb-render-util0
- libxcb-xinerama0
matrix:
include:
- python: '3.6'
env: ORANGE="3.25.1"
- python: '3.7'
env: ORANGE="release"
- python: '3.8'
env: ORANGE="release"
- python: '3.9'
env: ORANGE="master"
cache:
apt: true
pip: true
before_install:
- pip install -U pip wheel setuptools
- pip install codecov
install:
- pip install sip pyqt5 pyqtwebengine
- source $TRAVIS_BUILD_DIR/.travis/install_orange.sh
- pip install -e .
script:
- export XVFBARGS="-screen 0 1280x1024x24"
- catchsegv xvfb-run -a -s "$XVFBARGS" coverage run -m unittest discover -v
after_success:
- codecov