forked from spyder-ide/spyder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (38 loc) · 1.14 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
# https://travis-ci.org/spyder-ide/spyder
language: python
dist: trusty
sudo: false
matrix:
include:
- python: "2.7"
env: USE_PYQT=pyqt4
os: linux
- python: "2.7"
env: USE_PYQT=pyqt5
os: linux
- python: "3.5"
env: USE_PYQT=pyqt4
os: linux
# This slot runs our tests only with pip packages
- python: "3.5"
env: USE_PYQT=pyqt5
os: linux
- python: "3.6"
env: USE_PYQT=pyqt5
os: linux
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
# Avoid annoying focus problems when running tests
# See discussion in e.g. https://github.com/spyder-ide/spyder/pull/6132
- sudo apt-get -qq update
- sudo apt-get install -y matchbox-window-manager
install:
- ./continuous_integration/travis/install.sh;
- ./continuous_integration/travis/install-qt.sh;
- DISPLAY=:99 matchbox-window-manager &
- sleep 5
script:
- ./continuous_integration/travis/runtests.sh || ./continuous_integration/travis/runtests.sh || ./continuous_integration/travis/runtests.sh;
after_success:
- export PATH="$HOME/miniconda/bin:$PATH" && source activate test && coveralls