forked from braidedlogix/Pyface_wxPhoenix_py3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
31 lines (31 loc) · 991 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
language: generic
sudo: false
matrix:
include:
- env: RUNTIME=2.7 TOOLKITS="pyqt pyside wx"
- env: RUNTIME=3.5 TOOLKITS=pyqt
- env: RUNTIME=3.5 TOOLKITS=pyqt5
- env: RUNTIME=3.6 TOOLKITS=pyqt
- env: RUNTIME=3.6 TOOLKITS=pyqt5
- os: osx
env: RUNTIME=2.7 TOOLKITS="pyqt pyside wx"
- os: osx
env: RUNTIME=3.5 TOOLKITS=pyqt
allow_failures:
- env: RUNTIME=3.5 TOOLKITS=pyqt5
- env: RUNTIME=3.6 TOOLKITS=pyqt5
cache:
directories:
- $HOME/.cache
before_install:
- export DISPLAY=:99.0;
- if [[ ${TRAVIS_OS_NAME} == 'linux' ]]; then sh -e /etc/init.d/xvfb start; fi
install:
- ./travis_ci_bootstrap_edm.sh
- for toolkit in ${TOOLKITS}; do edm run -- invoke install --runtime=${RUNTIME} --toolkit=${toolkit}; done
script:
- for toolkit in ${TOOLKITS}; do edm run -- invoke test --runtime=${RUNTIME} --toolkit=${toolkit}; done
after_success:
- edm run -- coverage combine
- edm run -- pip install codecov
- edm run -- codecov