forked from Quasars/orange-spectroscopy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (27 loc) · 799 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
language: python
sudo: false
matrix:
include:
- python: '3.4'
env: PYQT4=true ORANGE="3.5.0"
- python: '3.5'
env: PYQT5=true ORANGE="3.5.0"
- python: '3.5'
env: PYQT5=true ORANGE="release"
- python: '3.5'
env: PYQT5=true ORANGE="master"
cache:
apt: true
pip: true
directories:
- $TRAVIS_BUILD_DIR/pyqt
install:
# Update pip to be able to install wheel dependencies
- pip install -U pip wheel
- source $TRAVIS_BUILD_DIR/.travis/install_pyqt.sh
- source $TRAVIS_BUILD_DIR/.travis/install_orange.sh
- pip install -e .
script:
# Screen must be 24bpp lest pyqt5 crashes, see pytest-dev/pytest-qt/35
- export XVFBARGS="-screen 0 1280x1024x24"
- catchsegv xvfb-run -a -s "$XVFBARGS" python setup.py test