forked from spyder-ide/spyder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (40 loc) · 1.08 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
# https://travis-ci.org/spyder-ide/spyder
language: python
dist: trusty
sudo: false
matrix:
include:
- python: "2.7"
env: TEST_MODULES=false USE_PYQT=pyqt5
os: linux
- python: "2.7"
env: TEST_MODULES=true USE_PYQT=pyqt4
os: linux
- python: "3.5"
env: TEST_MODULES=false USE_PYQT=pyqt4
os: linux
- python: "3.5"
env: TEST_MODULES=true USE_PYQT=pyqt4
os: linux
# This slot runs our tests only with pip packages
- python: "3.5"
env: TEST_MODULES=false USE_PYQT=pyqt5
os: linux
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
install:
- ./continuous_integration/travis/install.sh;
script:
- |
if [ "$TEST_MODULES" = "true" ]; then
./continuous_integration/travis/modules_test.sh
else
if [ "$USE_PYQT" = "pyqt5" ]; then
./continuous_integration/travis/test-qt5.sh
else
./continuous_integration/travis/test-qt4.sh
fi
fi
after_success:
- export PATH="$HOME/miniconda/bin:$PATH" && source activate test && coveralls