-
Notifications
You must be signed in to change notification settings - Fork 44
/
.travis.yml
62 lines (55 loc) · 1.54 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
language: generic
dist: xenial
services:
- xvfb
addons:
apt:
packages:
- python-qt4
- python-qt4-dev
- python-qt4-gl
- python-wxtools
- ccache
- cmake
- zlib1g-dev
- libpng-dev
- libfreetype6-dev
- libcairo2-dev
- libglu1-mesa-dev
env:
global:
- INSTALL_EDM_VERSION=1.11.0
PYTHONUNBUFFERED="1"
matrix:
include:
- env: RUNTIME=2.7 TOOLKITS="null pyqt" PILLOW='pillow'
- env: RUNTIME=2.7 TOOLKITS="wx" PILLOW='pillow'
- env: RUNTIME=3.5 TOOLKITS="null pyqt pyqt5" PILLOW='pillow'
- env: RUNTIME=3.6 TOOLKITS="null pyqt pyqt5" PILLOW='pillow'
- env: RUNTIME=2.7 TOOLKIT=null PILLOW='pillow<3.0.0'
- env: RUNTIME=3.5 TOOLKIT=null PILLOW='pillow<3.0.0'
- env: RUNTIME=3.6 TOOLKIT=null PILLOW='pillow<3.0.0'
allow_failures:
- env: RUNTIME=2.7 TOOLKITS="wx" PILLOW='pillow'
fast_finish: true
branches:
only:
- master
cache:
directories:
- $HOME/.cache
- $HOME/.ccache
before_install:
- ccache -s
- mkdir -p "${HOME}/.cache/download"
- ci/install-edm.sh
- export PATH="${HOME}/edm/bin:/usr/lib/ccache:${PATH}"
- edm install -y wheel click coverage
install:
- for toolkit in ${TOOLKITS}; do edm run -- python ci/edmtool.py install --runtime=${RUNTIME} --toolkit=${toolkit} --pillow=${PILLOW} || exit; done
script:
- for toolkit in ${TOOLKITS}; do edm run -- python ci/edmtool.py test --runtime=${RUNTIME} --toolkit=${toolkit} --pillow=${PILLOW} || exit; done
after_success:
- edm run -- coverage combine
- edm run -- pip install codecov
- edm run -- codecov