forked from enthought/mayavi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
84 lines (82 loc) · 2.12 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
sudo: false
virtualenv:
system_site_packages: true
matrix:
include:
- os: osx
language: generic
env: VTK_VERSION=5.8 ETS_TOOLKIT=qt4
- os: osx
language: generic
env: VTK_VERSION=5.8 ETS_TOOLKIT=wx
- os: osx
language: generic
env: VTK_VERSION=7.0 ETS_TOOLKIT=wx
- os: linux
language: python
python: 2.7
env: VTK_VERSION=5.8 ETS_TOOLKIT=qt4
- os: linux
language: python
python: 2.7
env: VTK_VERSION=5.8 ETS_TOOLKIT=wx
- os: linux
language: python
python: 2.7
env: VTK_VERSION=6.3 ETS_TOOLKIT=wx
- os: linux
language: python
python: 2.7
env: VTK_VERSION=7.0 ETS_TOOLKIT=wx
allow_failures:
- os: osx
language: generic
env: VTK_VERSION=5.8 ETS_TOOLKIT=qt4
- os: osx
language: generic
env: VTK_VERSION=5.8 ETS_TOOLKIT=wx
- os: osx
language: generic
env: VTK_VERSION=7.0 ETS_TOOLKIT=wx
- os: linux
language: python
python: 2.7
env: VTK_VERSION=6.3 ETS_TOOLKIT=wx
- os: linux
language: python
python: 2.7
env: VTK_VERSION=7.0 ETS_TOOLKIT=wx
# Travis Ubuntu 12 does not allow python-pyside
addons:
apt:
packages:
- python-vtk
- python-qt4
- python-qt4-gl
- python-imaging
- python-pip
- python-wxtools
- ccache
cache:
directories:
- $HOME/.cache
- $HOME/.ccache
before_install:
- source travis/before_install.sh
install:
- source travis/setup_vtk_env.sh
# Print the VTK version
- python -c "from __future__ import print_function; import vtk; print('VTK Version:', vtk.vtkVersion.GetVTKVersion())"
- pip install -r travis/travis-requirements.txt
- python setup.py develop
script:
- coverage erase
- coverage run -p -m nose.core -v tvtk/tests
- coverage run -p -m nose.core -v mayavi
# We can't run the integrationtests on travis with qt because python-pyside is forbidden
# And PyQt hangs during event loop
- if [[ ${ETS_TOOLKIT} == "wx" ]]; then sh travis/travis-run-integration-tests.sh; fi
- coverage combine
after_success:
- pip install codecov
- codecov